[Cfp-interest] DFP: Conversions among FP types

Fred J. Tydeman tydeman at tybor.com
Mon Dec 3 12:48:51 PST 2012


Change 6.3.1.5#1:
  "When a value of real floating type is converted to a real floating
   type,..."
to:
  "When a value of real floating type is converted to a generic
   floating type,..."

Make the last sentence:
  "Results of some implicit conversions may be represented in greater
   range and precision than that required by the new type (see 6.3.1.8
   and 6.8.6.4)."
into its own paragraph.

Add after 6.3.1.5#1.
  [2] When a value of real floating type is converted to a decimal
  floating type, if the value being converted cannot be represented
  exactly, the result is correctly rounded with exceptions raised as
  specified in IEC 60559, otherwise, it is unchanged.


---
Fred J. Tydeman        Tydeman Consulting
tydeman at tybor.com      Testing, numerics, programming
+1 (775) 287-5904      Vice-chair of PL22.11 (ANSI "C")
Sample C99+FPCE tests: http://www.tybor.com
Savers sleep well, investors eat well, spenders work forever.



More information about the Cfp-interest mailing list