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. |
[править] Функции
| Определено в файле <math.h>
| |
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. | |
| (C99) |
вычисляет абсолютную величину целочисленного значения (|x|) (функция) |
| Абсолютное значение с плавающей точкой (|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. (функция) | |
| (C99) |
частное и остаток от деления 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. (функция) | |
| (C99) |
подписан остаток от деления операции 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. (функция) |
| (C99) |
Остальные подписанные, а также три последних бита операции деления 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. (функция) |
| (C99) |
плавленых многосвязных добавить операцию 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. (функция) |
| (C99) |
большее из двух значений с плавающей точкой 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. (функция) |
| (C99) |
меньшего из двух значений с плавающей точкой 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. (функция) |
| (C99) |
положительная разность двух значений с плавающей точкой (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. (функция) |
| (C99) (C99) (C99) |
Не-число (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. (функция) | |
| (C99) |
возвращает 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. (функция) |
| (C99) |
возвращает е поднят на заданной мощности, минус один (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. (функция) | |
| (C99) |
натуральный логарифм (на базе е) 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. (функция) |
| (C99) |
логарифм по основанию 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. (функция) | |
| (C99) |
вычисляет кубический корень (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. (функция) |
| (C99) |
вычисляет квадратный корень из суммы квадратов двух заданных чисел (√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)) (функция) | |
| вычисляет косинус (cos(x)) (функция) | |
| вычисляет тангенс (tg(x)) (функция) | |
| вычисляет арксинус (arcsin(x)) (функция) | |
| вычисляет арккосинус (arccos(x)) (функция) | |
| вычисляет арктангенс (arctg(x)) (функция) | |
| арктангенс, с использованием знаков для определения квадранта 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)) (функция) | |
| вычисляет гиперболический косинус (ch(x)) (функция) | |
| вычисляет гиперболический тангенс (th(x)) (функция) | |
| (C99) |
вычисляет гиперболический арксинус (arcsinh(x)) (функция) |
| (C99) |
вычисляет гиперболический арккосинус (arccosh(x)) (функция) |
| (C99) |
вычисляет гиперболический арктангенс (arctgh(x)) (функция) |
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. | |
| (C99) |
Ошибка функции 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. (функция) |
| (C99) |
дополнительная функция ошибок 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. (функция) |
| (C99) |
натуральный логарифм гамма-функции 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. (функция) |
| (C99) |
гамма-функция 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. (функция) | |
| (C99) |
ближайшего целого числа не больше по величине, чем заданное значение 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. (функция) |
| (C99) (C99) (C99) |
ближайшего целого числа, округление от нуля в половину случаев 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. (функция) |
| (C99) |
Ближайшая целое число, используя текущий режим округления 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. (функция) |
| (C99) (C99) (C99) |
Ближайшая целое число, используя текущий режим округления с исключение, если результат отличается 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. (функция) | |
| (C99) (C99) |
число умножается на 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. (функция) |
| (C99) |
извлекает показатель числа 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. (функция) |
| (C99) |
извлекает показатель числа 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. (функция) |
| (C99) (C99) |
Следующий представимо значение с плавающей точкой в направлении заданного значения 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. (функция) |
| (C99) |
копирует знаком с плавающей точкой 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 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| (C99) |
классифицирует данное значение с плавающей точкой 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. (функция) |
| (C99) |
проверяет, является ли данное число имеет конечное значение 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. (функция) |
| (C99) |
проверяет, является ли данное число бесконечно 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. (функция) |
| (C99) |
проверяет, является ли данное число 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. (функция) |
| (C99) |
проверяет, является ли данное число является нормальным 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. (функция) |
| (C99) |
проверяет, является ли данное число является отрицательным 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. (функция) |
[править] Макро констант
| Определено в файле <math.h>
| |
| (C99) (C99) |
указывает значение слишком большим, чтобы быть представимо (бесконечность) по float, double и long double соответственно Original: indicates value too big to be representable (infinity) by 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. (константа-макрос) |
Original: Classification The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| (C99) (C99) (C99) (C99) (C99) |
указывает на плавающей запятой категории 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. (константа-макрос) |