Title
Should <math.h> provide 3-argument ::hypot overloads?
Status
new
Section
[support.c.headers.other]
Submitter
Jiang An

Created on 2022-10-22.00:00:00 last changed 26 months ago

Messages

Date: 2022-11-15.00:00:00

[ 2022-11-01; Reflector poll ]

Set priority to 3 after reflector poll. "This affects the exports of std.compat".

Date: 2022-10-22.00:00:00

See also LWG 3782. Like lerp, neither <math.h> nor C compatibility is mentioned in P0030R1, and MSVC STL decides not to declare 3-argument hypot overloads in the global namespace (perhaps so does libc++).

Perhaps we should also avoid providing these overloads in the global namespace. However, such change seems a bit difficult for libstdc++'s <math.h>.

History
Date User Action Args
2022-11-01 17:49:23adminsetmessages: + msg12915
2022-10-22 00:00:00admincreate