名前空間
変種
操作

MATH_ERRNO, MATH_ERREXCEPT, math_errhandling

提供: cppreference.com
< cpp‎ | numeric‎ | math

 
 
ニューメリックスライブラリ
一般的な数学関数
浮動小数点環境
複素数
数値配列
擬似乱数生成
コンパイル時有理数演算 (C++11)
汎用の数値演算
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.
HUGE_VALF
HUGE_VAL
HUGE_VALL
(C++11)

(C++11)
INFINITY(C++11)
NAN(C++11)
math_errhandling
MATH_ERRNO
MATH_ERREXCEPT
(C++11)
FP_NORMAL
FP_SUBNORMAL
FP_ZERO
FP_INFINITE
FP_NAN
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
 
Defined in header <cmath>
#define MATH_ERRNO        1
(C + + 11以来)
#define MATH_ERREXCEPT    2
(C + + 11以来)
#define math_errhandling  /*implementation defined*/
(C + + 11以来)
マクロ定数math_errhandlingintに等しい、またはMATH_ERRNOに等しい、またはそれらのビット単位のOR(MATH_ERREXCEPT)に等しいタイプMATH_ERRNO | MATH_ERREXCEPTの式に展開されます.
Original:
The macro constant math_errhandling expands to an expression of type int that is either equal to MATH_ERRNO, or equal to MATH_ERREXCEPT, or equal to their bitwise OR (MATH_ERRNO | MATH_ERREXCEPT).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
math_errhandlingの値は、浮動小数点の演算子と関数が実行され、エラー処理のタイプを示します
Original:
The value of math_errhandling indicates the type of error handling that is performed by the floating-point operators and functions:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
定数
Original:
Constant
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Explanation
MATH_ERREXCEPT
使用されているが、その浮動小数点の例外を示します。少なくともFE_DIVBYZEROFE_INVALID、とFE_OVERFLOW<cfenv>で定義されています.
Original:
indicates that floating-point exceptions are used: at least FE_DIVBYZERO, FE_INVALID, and FE_OVERFLOW are defined in <cfenv>.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
MATH_ERRNO
その浮動小数点演算がエラーを報告するために変数を使用errno示し.
Original:
indicates that floating-point operations use the variable errno to report errors.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


次のような浮動小数点エラー条件が認識されます:
Original:
The following floating-point error conditions are recognized:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
#ドメイン·エラー(入力引数は、操作が数学的に定義されている範囲外で、例えばstd::sqrt(-1)std::log(-1)、またはstd::acos(2))。 MATH_ERRNOビットがセットされている場合、EDOMerrnoに割り当てられています。 MATH_ERREXCEPTビットがセットされている場合、FE_INVALIDが発生します.
Original:
# Domain error (input argument is outside the range in which the operation is mathematically defined, e.g. std::sqrt(-1), std::log(-1), or std::acos(2)). If MATH_ERRNO bit is set, EDOM is assigned to errno. If MATH_ERREXCEPT bit is set, FE_INVALID is raised.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
#範囲エラー(数学的な結果は、指定された型のオブジェクト、例えばstd::atanh(-1)std::log(0.0)、またはstd::lgamma(0.0)として表現することはできません)。 MATH_ERRNOビットがセットされている場合、ERANGEerrnoに割り当てられています。 MATH_ERREXCEPTビットがセットされている場合、またはFE_DIVBYZEROFE_OVERFLOW上昇させる.
Original:
# Range error (the mathematical result cannot be represented as the object of specified type, e.g. std::atanh(-1), std::log(0.0), or std::lgamma(0.0)). If MATH_ERRNO bit is set, ERANGE is assigned to errno. If MATH_ERREXCEPT bit is set, FE_DIVBYZERO or FE_OVERFLOW is raised.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
#オーバーフロー(数学的な結果が有限であるが、極端な丸め誤差なく表現するには大きすぎるような十分な大きさの引数を持つstd::expとして例えば関数)。 MATH_ERRNOビットがセットされている場合、ERANGEerrnoに割り当てられています。 MATH_ERREXCEPTビットがセットされている場合、FE_OVERFLOWが発生します.
Original:
# Overflow (the mathematical result is finite, but too big to be represented without extreme roundoff error, e.g. functions such as std::exp with sufficiently large arguments). If MATH_ERRNO bit is set, ERANGE is assigned to errno. If MATH_ERREXCEPT bit is set, FE_OVERFLOW is raised.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
#アンダーフローは、(数学的結果は非ゼロですが、極端な丸め誤差なく表現するには小さすぎる、std::sin(subnormal)内または非正規の引数を持つ他の多くの機能のために、結果が非​​正規であるなど)。 MATH_ERRNOビットがセットされている場合、ERANGEerrnoに割り当てられることがあります。 MATH_ERREXCEPTビットがセットされている場合、FE_UNDERFLOWが発生する場合があります.
Original:
# Underflow (the mathematical result is non-zero, but too small to be represented without extreme roundoff error, e.g. the result is subnormal, as in std::sin(subnormal) or for many other functions with subnormal arguments). If MATH_ERRNO bit is set, ERANGE may be assigned to errno. If MATH_ERREXCEPT bit is set, FE_UNDERFLOW may be raised.
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 exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(マクロ定数) [edit]
POSIX準拠のスレッドローカルなエラー番号variable
(マクロ変数)に展開されるマクロ
Original:
macro which expands to POSIX-compatible thread-local error number variable
(マクロ変数)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[edit]