feholdexcept
提供: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 <<fenv.h>>
|
||
| int feholdexcept( fenv_t* envp ); |
(C99以来) | |
まず、(
envpに類似)fegetenvが指すオブジェクトに現在の浮動小数点環境を保存し、すべての浮動小数点ステータスフラグをクリアし、ノンストップモードをインストールします:将来の浮動小数点例外は実行を中断されません(浮動小数点環境はfeupdateenvまたはfesetenvによって復元されるまで)をトラップしません.Original:
First, saves the current floating-point environment to the object pointed to by
envp (similar to fegetenv), then clears all floating-point status flags, and then installs the non-stop mode: future floating-point exceptions will not interrupt execution (will not trap), until the floating-point environment is restored by feupdateenv or fesetenv.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
この関数は、呼び出し元から上げることができるの浮動小数点例外を隠さなければならないサブルーチンの先頭で使用することができる。唯一のいくつかの例外を抑制しなければならない場合は他の人が報告されている必要がありながら、ノンストップモードは通常、不要な例外をクリアした後feupdateenvへの呼び出しで終了し.
Original:
This function may be used in the beginning of a subroutine that must hide the floating-point exceptions it may raise from the caller. If only some exceptions must be suppressed, while others must be reported, the non-stop mode is usually ended with a call to feupdateenv after clearing the unwanted exceptions.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
[編集] パラメータ
| envp | - | 浮動小数点環境を格納する型fenv_tのオブジェクトへのポインタ
Original: pointer to the object of type fenv_t where the floating-point environment will be stored The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
0成功した場合には、ゼロ以外のその他のとき.
Original:
0 on success, non-zero otherwise.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[編集] 例
| This section is incomplete Reason: no example |
[編集] も参照してください
| (C99) |
浮動小数点環境を復元し、以前に例外を発生させることが発生します Original: restores the floating-point environment and raises the previously raise exceptions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C99) |
現在の浮動小数点環境を保存したり復元します Original: saves or restores the current floating point environment The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (機能) |
| (C99) |
デフォルトの浮動小数点環境 Original: default floating-point environment The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (マクロ定数) |
| C++ documentation for feholdexcept
| |