[ Web Proxy ]
URL:
Viewing: https://ru.cppreference.com/cpp/numeric/math/nextafter [Back]  [Original]

std::nextafter, std::nexttoward cppreference.com
cppreference.com

std::nextafter, std::nexttoward

cppreference.com

<metanoindex/>

 
C++
(C++20)
(C++20)
(C++11)
(C++20)
/
(C++11)
(C++11)
(C++11)
(C++17)
 
(C++17)
(C++20)
(C++11)
(C++11)
(C++17)
(C++17)
(C++20)
(C++20)
(C++11)
(C++17)
(C++20)
(C++23)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
(C++20)
 
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)(C++11)
(C++11)
(C++11)
(C++11)(C++11)
(C++11)
/
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
-
(C++11)(C++11)(C++11)(C++11)(C++11)
 
<tbody> </tbody>
float nextafter( float from, float to );
(1) ( C++11)
double nextafter( double from, double to );
(2) ( C++11)
long double nextafter( long double from, long double to );
(3) ( C++11)
Promoted nextafter( Arithmetic from, Arithmetic to );
(4) ( C++11)
float nexttoward( float from, long double to );
(5) ( C++11)
double nexttoward( double from, long double to );
(6) ( C++11)
long double nexttoward( long double from, long double to );
(7) ( C++11)
double nexttoward( Integral from, long double to );
(8) ( C++11)
from to. from to, to .
:
Returns the next representable value of from in the direction of to. If from equals to to, to is returned.
Google.
. .

4)

- , double. long double, long double, double
:
If any argument has integral type, it is cast to double. If any other argument is long double, then the return type is long double, otherwise it is double
Google.
. .

from, to
:
floating point values
Google.
. .

from to.
:
the next representable value of from in the direction of to.
Google.
. .


Web Proxy Viewer  |  New URL  |  Original Page