Submitter:CFP group
Submission Date: 2021-05-03
Document: WG14 N2714
Title: N2714: hypot()
Reference Documents:WG14 N2596, CFP 1930, 1963

Summary: hypot() has an incorrect special case and is missing a special case.

These page numbers are for N2596.

Page 458, F.10.4.4 The hypot functions:

Change

--- hypot(x, +/-0) is equivalent to fabs(x).

to

--- hypot(x, +/-0) is equivalent to fabs(x) returns the absolute value of x, if x is not a NaN.

Add as a last bullet item:

--- hypot(x, NaN) returns NaN, if x is not +/-infinity