[Cfp-interest] updates for Parts 2
Fred J. Tydeman
tydeman at tybor.com
Wed Mar 20 20:36:39 PDT 2013
On Wed, 20 Mar 2013 20:10:27 -0700 Jim Thomas wrote:
>
>>
>> PDF page 29, line 24: Shift left to align like previous lines.
>>
>
>Hmm. I don't see this one.
Oops. Should be PDF page 39, line 24.
>> PDF page 37, lines 14-16. I do not understand why the lines are not:
>> 954e91 9.54e93
>> 95e92 OR 9.5e93
>> 1e94 1e94
>
>These should be in %e formatting style for printf. Showing the intermediate rounding:
>
>(1, 9543210, 87) -> (1, 9540, 90) -> 9.540e93
>(1, 9543210, 87) -> (1, 9500, 90) -> 9.500e93
>(1, 9543210, 87) -> (1, 10000, 90) -> 1.0000e94
>
>The three preceding lines should be in the same style.
I believe I am confused by 'maximum exponent' and 'maximum quantum exponent'.
I believe that for 'float' type, max exp is 97, while max quant exp is 90.
Perhaps, we need a table of max and min quant exponents. Either as part
of table 1 on PDF page 12, or on PDF page 36 before line 5.
---
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