Common mathematical functions
Материал из cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
[править] Функции
Определено в файле <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. | |
(C++11) |
вычисляет абсолютное значение интегрального значения (|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. (функция) |
Абсолютное значение с плавающей точкой (|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. (функция) | |
(C++11) |
частное и остаток от деления 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. (функция) |
Остальная часть операции с плавающей точкой разделения 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. (функция) | |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
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. (функция) | |
(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. (функция) |
(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. (функция) |
вычисляет натуральный (базовый е) логарифм (на базе е) (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. (функция) | |
вычисляет общие (базовые 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. (функция) | |
(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. (функция) |
(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. (функция) |
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. (функция) | |
(C++11) |
вычисляет кубический корень (3√x) Original: computes cubic root (3√x) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) |
(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. (функция) |
возводит число в данном мощности (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. (функция) | |
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. (функция) | |
вычисляет косинус (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. (функция) | |
вычисляет тангенс (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. (функция) | |
вычисляет арксинус (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. (функция) | |
вычисляет арккосинус (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. (функция) | |
вычисляет арктангенс (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. (функция) | |
арктангенс, с использованием знаков для определения квадранта 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. (функция) | |
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. (функция) | |
вычисляет гиперболический косинус (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. (функция) | |
гиперболический тангенс 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. (функция) | |
(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. (функция) |
(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. (функция) |
(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. (функция) |
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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
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. (функция) | |
ближайшего целого числа не больше, чем заданное значение 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. (функция) | |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
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. (функция) | |
число умножается на 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. (функция) | |
разлагается число в целой и дробной части 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. (функция) | |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
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. | |
(C++11) |
классифицирует данное значение с плавающей точкой 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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(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. (функция) |
(C++11) |
проверяет, является ли первый с плавающей точкой аргумента больше или равно, чем второй 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. (функция) |
(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. (функция) |
(C++11) |
проверяет, является ли первый с плавающей точкой аргумент меньше или равна, чем второй 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. (функция) |
(C++11) |
проверяет, является ли первый с плавающей точкой аргумент меньше или больше, чем второй 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. (функция) |
(C++11) |
проверяет, если два значения с плавающей точкой являются неупорядоченными 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. (функция) |
[править] Типы
Определено в файле <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>
| |
(C++11) (C++11) |
указывает на переполнение значение для 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. (константа-макрос) |
(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. (константа-макрос) |
(C++11) (C++11) (C++11) |
определяет механизм обработки ошибок используются общие математические функции 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. (константа-макрос) |
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. (константа-макрос) |
Определено в файле <cfloat>
|