[Cfp-interest 1494] Re: Range errors

Fred J. Tydeman tydeman at tybor.com
Wed Feb 19 07:33:58 PST 2020


On Tue, 18 Feb 2020 19:14:52 -0800 (PST) Fred J. Tydeman wrote:
>
>On Tue, 18 Feb 2020 15:04:52 -0800 Jim Thomas wrote:
>>
>>> The cosh functions
>>> Change 7.12.5.4#2 from
>>> 
>>> A range error occurs if the magnitude of x is too large.
>>> to
>>> 
>>> A range error occurs if the magnitude of (positive or negative) finite x is too large.
>
>>"the magnitude of" cannot be deleted here.

Why?

After thinking about it some more, I believe that these are equivalent:

the magnitude of  finite x is too large

the absolute value of finite x is too large

(positive or negative) finite x is too large



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