Closed wg21bot closed 1 year ago
The signature of nexttoward was incorrectly changed by P1467. The second parameter should be long double, not floating-point-type.
Proposed change:
Modify the declaration of nexttoward in 28.7.1 [cmath.syn] as follows:
constexpr floating-point-type nexttoward(floating-point-type x, floating-point-type**long double** y);
This is LWG 3790 and the proposed change is not what we want.
This smells like Library territory.
LWG 3790 has been updated with the solution discussed by LWG.
[2023-01-11; Reflector poll]
Set status to Tentatively Ready after seven votes in favour during reflector poll.
Accepted with modification.
The signature of nexttoward was incorrectly changed by P1467. The second parameter should be long double, not floating-point-type.
Proposed change:
Modify the declaration of nexttoward in 28.7.1 [cmath.syn] as follows: