https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114018

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Ah, it is described in https://eel.is/c++draft/cmath.syn#2 and probably due to
https://eel.is/c++draft/cmath.syn#3 (so that one can use std::nexttoward(42,
53.0L);
as it has just one floating-point-type argument, there is no template for
promotion
of args for nexttoward).
Perhaps
constexpr standard-floating-point-type nexttoward(standard-floating-point-type
x, long double y);
and define standard-floating-point meaning in [cmath.syn]/2 and talk about it
also in
[cmath.syn]/3?

Reply via email to