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. |
[編集] 機能します
Defined in header
<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) |
残りだけでなく、除算の最後の3つのビットを締結しました 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) |
2つの浮動小数点値の大きい方 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) |
2つの浮動小数点値のうち小さい方 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) |
2つの浮動小数点値(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. | |
戻り eを与えられた電力(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) |
戻り eを与えられたパワーに上げ、マイナス1(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. (関数) |
計算する自然(底 E)対数(底へ E)(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) |
自然対数(ベースへ E)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) |
2指定された数字(√x2 +y2 )の2乗の和の平方根を計算します 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) |
最初の浮動小数点引数かどうかをチェックしますが2番目の値より大きいか 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) |
最初の浮動小数点引数かどうかをチェックしますが2番目の値より大きいか等しい 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) |
最初の浮動小数点引数であればチェックは1秒未満である 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) |
2つの浮動小数点値が順序付けられていないかどうかをチェックします 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. (関数) |
[編集] タイプ
Defined in header
<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. |
Defined in header
<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. |
Defined in header
<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. |
[編集] マクロ定数
Defined in header
<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) |
タイプfloatのクワイエットNaNと評価されます 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. (マクロ定数) |
Defined in header
<cfloat> |