[Cfp-interest] D/d double type floating point suffix

Fred J. Tydeman tydeman at tybor.com
Mon Jul 30 07:04:06 PDT 2012


My understanding is that the 'd' suffix is used on packed decimal
constants.  In the hardware, they are integers.  But, in the
user's source code, can they look like floating-point numbers?
That is, would 1.00d be a valid packed decimal constant?

---
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