[Cfp-interest] aA formatting with small precision modifier

Rajan Bhakta rbhakta at ca.ibm.com
Tue Aug 28 09:33:18 PDT 2012


Rounding down gives 9.000000e+96.

Regards,

Rajan Bhakta
z/OS XL C/C++ Compiler Technical Architect
ISO C Standards Representative for Canada
C Compiler Development
Contact: rbhakta at ca.ibm.com, Rajan Bhakta/Toronto/IBM
Telephone: (905) 413-3995



From:
"Fred J. Tydeman" <tydeman at tybor.com>
To:
"Jim Thomas" <jaswthomas at sbcglobal.net>, Rajan Bhakta/Toronto/IBM at IBMCA
Cc:
"CFP" <cfp-interest at ucbtest.org>
Date:
08/27/2012 10:37 AM
Subject:
Re: [Cfp-interest] aA formatting with small precision modifier



On Mon, 27 Aug 2012 07:43:21 -0400 Rajan Bhakta wrote:
>
>At least one IBM implementation gets INF for the case below. 

With round to zero or -infinity?  Is printf honoring the rounding 
direction?



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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.oakapple.net/pipermail/cfp-interest/attachments/20120828/beae6cf6/attachment.html 


More information about the Cfp-interest mailing list