double nextafter (double x , double y); float nextafterf (float x , float y); long double nextafterl (long double x, long double y);
double nextafter (double x , double y ); float nextafter (float x , float y ); long double nextafter (long double x, long double y ); double nextafter (Type1 x , Type2 y); // additional overloads
long double
as second argument.<cmath>
) for other combinations of arithmetic types (Type1 and Type2): These overloads effectively cast its arguments to double
before calculations, except if at least one of the arguments is of type long double
(in which case both are casted to long double
instead).
|
|
first representable value greater than zero: 4.940656e-324 first representable value less than zero: -4.940656e-324 |