feupdatedenv
来自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 feupdateenv( const fenv_t* envp ); |
(C99 起) | |
首先,记住目前提出的浮点异常,然后恢复浮点环境的对象所指向的
envp(fesetenv类似),然后引发浮点异常,保存.Original:
First, remembers the currently raised floating-point exceptions, then restores the floating-point environment from the object pointed to by
envp (similar to fesetenv), then raises the floating-point exceptions that were saved.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.
此功能可用于结束的非停止模式建立的先前调用feholdexcept.
Original:
This function may be used to end the non-stop mode established by an earlier call to feholdexcept.
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以前调用feholdexcept或
fegetenv或等于FE_DFL_ENVOriginal: pointer to the object of type fenv_t set by an earlier call to feholdexcept or fegetenv or equal to FE_DFL_ENVThe 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.
[编辑] 为例
| 本节是不完整的 原因: no example |
[编辑] 另请参阅
| (C99) |
保存环境,清除所有状态标志,而忽略了未来所有的错误 Original: saves the environment, clears all status flags and ignores all future errors 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 feupdateenv
| |