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

Common mathematical functions

Материал из cppreference.com
 
 
Numerics библиотеки
Общие математические функции
Плавающей точкой окружающей среды
Комплексные числа
Числовых массивов
Псевдослучайных чисел поколения
Во время компиляции рациональной арифметики (C++11)
Generic числовые операции
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
iota(C++11)
accumulate
inner_product
adjacent_difference
partial_sum
 
Общие математические функции
Функции
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(C++11)
remquo(C++11)
fma(C++11)
fmax(C++11)
fmin(C++11)
fdim(C++11)
nan
nanf
nanl
(C++11)
(C++11)
(C++11)
Экспоненциальной функции
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(C++11)
expm1(C++11)
log
log10
log1p(C++11)
log2(C++11)
Мощность функций
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(C++11)
hypot(C++11)
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(C++11)
acosh(C++11)
atanh(C++11)
Ошибка и гамма-функции
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(C++11)
erfc(C++11)
lgamma(C++11)
tgamma(C++11)
Ближайшее целое число операций с плавающей точкой
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
(C++11)
(C++11)
(C++11)
trunc(C++11)
nearbyint(C++11)
rint
lrint
llrint
(C++11)
(C++11)
(C++11)
Плавающей точкой функции манипуляции
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
(C++11)
(C++11)
ilogb(C++11)
logb(C++11)
frexp
modf
nextafter
nexttoward
(C++11)
(C++11)
copysign(C++11)
Классификация / сравнения
Original:
Classification/Comparison
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
fpclassify(C++11)
isfinite(C++11)
isinf(C++11)
isnan(C++11)
isnormal(C++11)
signbit(C++11)
isgreater(C++11)
isgreaterequal(C++11)
isless(C++11)
islessequal(C++11)
islessgreater(C++11)
isunordered(C++11)
Макро констант
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.
FP_NORMAL
FP_SUBNORMAL
FP_ZERO
FP_INFINITE
FP_NAN
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
 

Содержание

[править] Функции

Определено в файле <cmath>
Основные операции
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.
вычисляет абсолютное значение интегрального значения (|x|)
Original:
computes absolute value of an integral value (|x|)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Абсолютное значение с плавающей точкой (|x|)
Original:
absolute value of a floating point value (|x|)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
частное и остаток от деления
Original:
the quotient and remainder of integer division
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Остальная часть операции с плавающей точкой разделения
Original:
remainder of the floating point division operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
подписан остаток от деления операции
Original:
signed remainder of the division operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
Остальные подписанные, а также три последних бита операции деления
Original:
signed remainder as well as the three last bits of the division operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
плавленых многосвязных добавить операцию
Original:
fused multiply-add operation
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
большее из двух значений с плавающей точкой
Original:
larger of two 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.

(функция) [edit]
(C++11)
меньшего из двух значений с плавающей точкой
Original:
smaller of two 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.

(функция) [edit]
(C++11)
положительная разность двух значений с плавающей точкой (max(0, x-y))
Original:
positive difference of two floating point values (max(0, x-y))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
(C++11)
(C++11)
Не-число (NaN)
Original:
not-a-number (NaN)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Экспоненциальной функции
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.
возвращает е поднял к данной мощности (ex)
Original:
returns e raised to the given power (ex)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
возвращает 2, возведенное в заданной мощности (2x)
Original:
returns 2 raised to the given power (2x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
возвращает е поднят на заданной мощности, минус один (ex-1)
Original:
returns e raised to the given power, minus one (ex-1)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
вычисляет натуральный (базовый е) логарифм (на базе е) (ln(x))
Original:
computes natural (base e) logarithm (to base e) (ln(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
вычисляет общие (базовые 10) логарифм (log10(x))
Original:
computes common (base 10) logarithm (log10(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
натуральный логарифм (на базе е) 1 плюс заданное число
Original:
natural logarithm (to base e) of 1 plus the given number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
логарифм по основанию 2 из заданного числа
Original:
base 2 logarithm of the given number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Мощность функций
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.
вычисляет квадратный корень (x)
Original:
computes square root (x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
вычисляет кубический корень (3x)
Original:
computes cubic root (3x)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
вычисляет квадратный корень из суммы квадратов двух заданных чисел (x2
+y2
)
Original:
computes square root of the sum of the squares of two given numbers (x2
+y2
)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
возводит число в данном мощности (xy)
Original:
raises a number to the given power (xy)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Тригонометрические функции
Original:
Trigonometric functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
вычисляет синус (sin(x))
Original:
computes sine (sin(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
вычисляет косинус (cos(x))
Original:
computes cosine (cos(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
вычисляет тангенс (tan(x))
Original:
computes tangent (tan(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
вычисляет арксинус (arcsin(x))
Original:
computes arc sine (arcsin(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
вычисляет арккосинус (arccos(x))
Original:
computes arc cosine (arccos(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
вычисляет арктангенс (arctan(x))
Original:
computes arc tangent (arctan(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
арктангенс, с использованием знаков для определения квадранта
Original:
arc tangent, using signs to determine quadrants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Гиперболические функции
Original:
Hyperbolic functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
вычисляет гиперболический синус (sh(x))
Original:
computes hyperbolic sine (sh(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
вычисляет гиперболический косинус (ch(x))
Original:
computes hyperbolic cosine (ch(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
гиперболический тангенс
Original:
hyperbolic tangent
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
гиперболического синуса дуги
Original:
hyperbolic arc sine
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
гиперболические арккосинус
Original:
hyperbolic arc cosine
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
гиперболический тангенс дуги
Original:
hyperbolic arc tangent
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Ошибка и гамма-функции
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.
(C++11)
Ошибка функции
Original:
error function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
дополнительная функция ошибок
Original:
complementary error function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
натуральный логарифм гамма-функции
Original:
natural logarithm of the gamma function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
гамма-функция
Original:
gamma function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Ближайшее целое число операций с плавающей точкой
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.
ближайшего целого числа не меньше, чем заданное значение
Original:
nearest integer not less than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
ближайшего целого числа не больше, чем заданное значение
Original:
nearest integer not greater than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
ближайшего целого числа не больше по величине, чем заданное значение
Original:
nearest integer not greater in magnitude than the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
(C++11)
(C++11)
ближайшего целого числа, округление от нуля в половину случаев
Original:
nearest integer, rounding away from zero in halfway cases
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
Ближайшая целое число, используя текущий режим округления
Original:
nearest integer using current rounding mode
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
(C++11)
(C++11)
Ближайшая целое число, используя текущий режим округления с
исключение, если результат отличается
Original:
nearest integer using current rounding mode with
exception if the result differs
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Плавающей точкой функции манипуляции
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.
разлагается число в значащей и мощностью 2
Original:
decomposes a number into significand and a power of 2
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
число умножается на 2, возведенное в степень
Original:
multiplies a number by 2 raised to a power
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
разлагается число в целой и дробной части
Original:
decomposes a number into integer and fractional parts
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
(C++11)
число умножается на FLT_RADIX, возведенное в степень
Original:
multiplies a number by FLT_RADIX raised to a power
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
извлекает показатель числа
Original:
extracts exponent of the number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
извлекает показатель числа
Original:
extracts exponent of the number
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
(C++11)
Следующий представимо значение с плавающей точкой в ​​направлении заданного значения
Original:
next representable floating point value towards the given value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
копирует знаком с плавающей точкой
Original:
copies the sign of a floating point value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
Классификация и сравнение
Original:
Classification and comparison
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
классифицирует данное значение с плавающей точкой
Original:
categorizes the given floating point value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
проверяет, является ли данное число имеет конечное значение
Original:
checks if the given number has finite value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
проверяет, является ли данное число бесконечно
Original:
checks if the given number is infinite
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
проверяет, является ли данное число NaN
Original:
checks if the given number is NaN
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
проверяет, является ли данное число является нормальным
Original:
checks if the given number is normal
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
проверяет, является ли данное число является отрицательным
Original:
checks if the given number is negative
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
проверяет, является ли первый с плавающей точкой аргумента больше, чем второй
Original:
checks if the first floating-point argument is greater than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
проверяет, является ли первый с плавающей точкой аргумента больше или равно, чем второй
Original:
checks if the first floating-point argument is greater or equal than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
(C++11)
проверяет, является ли первый с плавающей точкой аргумент меньше второго
Original:
checks if the first floating-point argument is less than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
проверяет, является ли первый с плавающей точкой аргумент меньше или равна, чем второй
Original:
checks if the first floating-point argument is less or equal than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
проверяет, является ли первый с плавающей точкой аргумент меньше или больше, чем второй
Original:
checks if the first floating-point argument is less or greater than the second
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]
проверяет, если два значения с плавающей точкой являются неупорядоченными
Original:
checks if two floating-point values are unordered
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(функция) [edit]

[править] Типы

Определено в файле <cmath>
float_t
Наиболее эффективным с плавающей запятой по крайней мере так велик, как float
Original:
most efficient floating-point type at least as wide as float
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
double_t
Наиболее эффективным с плавающей запятой по крайней мере так велик, как double
Original:
most efficient floating-point type at least as wide as double
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Определено в файле <cstdlib>
div_t
Структура типа, возвращение std::div функции
Original:
structure type, return of the std::div function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
ldiv_t
Структура типа, возвращение std::ldiv функции
Original:
structure type, return of the std::ldiv function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
lldiv_t
Структура типа, возвращение std::lldiv функции
Original:
structure type, return of the std::lldiv function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Определено в файле <cinttypes>
imaxdiv_t
Структура типа, возвращение std::imaxdiv функции
Original:
structure type, return of the std::imaxdiv function
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[править] Макро констант

Определено в файле <cmath>
указывает на переполнение значение для float, double и long double соответственно
Original:
indicates the overflow value for float, double and long double respectively
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(константа-макрос) [edit]
(C++11)
оценивается как положительная бесконечность или стоимость гарантированно переполнения float
Original:
evaluates to positive infinity or the value guaranteed to overflow a float
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(константа-макрос)
(C++11)
оценивается в тихий NaN типа float
Original:
evaluates to a quiet NaN of type float
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(константа-макрос)
определяет механизм обработки ошибок используются общие математические функции
Original:
defines the error handling mechanism used by the common mathematical functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(константа-макрос) [edit]
Классификация
Original:
Classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
указывает на плавающей запятой категории
Original:
indicates a floating-point category
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(константа-макрос) [edit]
Определено в файле <cfloat>