cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

US 52-122 28.7.1 [cmath.syn] Fix signature of nexttoward #534

Closed wg21bot closed 1 year ago

wg21bot commented 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);
jwakely commented 1 year ago

This is LWG 3790 and the proposed change is not what we want.

brycelelbach commented 1 year ago

This smells like Library territory.

jwakely commented 1 year ago

LWG 3790 has been updated with the solution discussed by LWG.

JeffGarland commented 1 year ago

[2023-01-11; Reflector poll]

Set status to Tentatively Ready after seven votes in favour during reflector poll.

jwakely commented 1 year ago

Accepted with modification.