Пространства имён
Варианты
Действия

nextafter, nexttoward

Материал из cppreference.com
< c | numeric | math

 
 
 
Общие математические функции
Функции
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Основные операции
Original:
Basic operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
remainder(C99)
remquo(C99)
fma(C99)
fmax(C99)
fmin(C99)
fdim(C99)
nan
nanf
nanl
(C99)
(C99)
(C99)
Экспоненциальной функции
Original:
Exponential functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
exp
exp2(C99)
expm1(C99)
log
log10
log1p(C99)
log2(C99)
Мощность функций
Original:
Power functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
sqrt
cbrt(C99)
hypot(C99)
pow
Тригонометрические и гиперболические функции
Original:
Trigonometric and hyperbolic functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
sinh
cosh
tanh
asinh(C99)
acosh(C99)
atanh(C99)
Ошибка и гамма-функции
Original:
Error and gamma functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
erf(C99)
erfc(C99)
lgamma(C99)
tgamma(C99)
Ближайшее целое число операций с плавающей точкой
Original:
Nearest integer floating point operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ceil
floor
round
lround
llround
(C99)
(C99)
(C99)
trunc(C99)
nearbyint(C99)
rint
lrint
llrint
(C99)
(C99)
(C99)
Плавающей точкой функции манипуляции
Original:
Floating point manipulation functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ldexp
scalbn
scalbln
(C99)
(C99)
ilogb(C99)
logb(C99)
frexp
modf
nextafter
nexttoward
(C99)
(C99)
copysign(C99)
Классификация
Original:
Classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
fpclassify(C99)
isfinite(C99)
isinf(C99)
isnan(C99)
isnormal(C99)
signbit(C99)
Макро констант
Original:
Macro constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Заголовочный файл <math.h>
float       nextafterf( float from, float to );
(начиная с C99)
double      nextafter( double from, double to );
(начиная с C99)
long double nextafterl( long double from, long double to );
(начиная с C99)
float       nexttowardf( float from, long double to );
(начиная с C99)
double      nexttoward( double from, long double to );
(начиная с C99)
long double nexttowardl( long double from, long double to );
(начиная с C99)
Возвращает следующий представимо значение from в направлении to. Если from равно to, to возвращается.
Original:
Returns the next representable value of from in the direction of to. If from equals to to, to is returned.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Содержание

[править] Параметры

from, to -
с плавающей точкой
Original:
floating point values
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[править] Возвращаемое значение

Следующий представимо значение from в направлении to.
Original:
The next representable value of from in the direction of to.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[править] Пример

[править] См. также