[Cfp-interest 1825] hypot(SNAN,+0)
Fred J. Tydeman
tydeman at tybor.com
Wed Oct 28 09:16:45 PDT 2020
C23 F.10.4.4 has
hypot(x, ±0) is equivalent to fabs(x).
Is that true for x being a Signaling NaN?
fabs(SNAN) raises no floating-point exceptions.
---
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