[Cfp-interest 1394] Re: Math functions & range errors
Fred J. Tydeman
tydeman at tybor.com
Tue Aug 27 06:44:12 PDT 2019
On Mon, 26 Aug 2019 15:40:33 -0700 Jim Thomas wrote:
>
>>> Can't there be range errors for moderate magnitude
>>> negative x?
>>
>> Yes. I think "moderate negative x" could still be considered "too large". But, I am open to
>> other wording.
>
>How about: "A range error occurs if the magnitude of finite positive x is too large and for some negative finite x and "?
Actually, tgamma() overflows both binary 128 and decimal 128 by +2200,
and underflows both of those formats by -2200.5
So, the numbers do not have to be very big.
---
Fred J. Tydeman Tydeman Consulting
tydeman at tybor.com Testing, numerics, programming
+1 (702) 608-6093 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