Date: Wed, 12 Oct 2022 17:19:46 +0000
On Wed, 12 Oct 2022, Hubert Tong via Liaison wrote:
> P0493R3 (
> https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0493r3.pdf)
> proposes atomic floating-point min/max based on std::min and std::max.
>
> std::min and std::max are known to disagree with std::fmin/std::fmax for
> things like signed zeros and NaN values.
Note also that fmin and fmax are the old operations from IEEE 754-2008.
The operations from IEEE 754-2019 are fminimum, fmaximum, fminimum_num and
fmaximum_num in C23.
> P0493R3 (
> https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0493r3.pdf)
> proposes atomic floating-point min/max based on std::min and std::max.
>
> std::min and std::max are known to disagree with std::fmin/std::fmax for
> things like signed zeros and NaN values.
Note also that fmin and fmax are the old operations from IEEE 754-2008.
The operations from IEEE 754-2019 are fminimum, fmaximum, fminimum_num and
fmaximum_num in C23.
-- Joseph S. Myers joseph_at_[hidden]
Received on 2022-10-12 17:19:56