fegetenv, fesetenv
Aus 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. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <<fenv.h>>
|
||
int fegetenv( fenv_t* envp ); |
(1) | |
int fesetenv( const fenv_t* envp ); |
(2) | |
1)
Versuche, den Status der Floating-Point-Umfeld, in das Objekt zu speichern, auf die
envp .Original:
Attempts to store the status of the floating-point environment in the object pointed to by
envp.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.
2)
Versuche, die Floating-Point-Umgebung aus dem Objekt, auf das
envp etablieren. den Wert dieser Objekt muss zuvor durch einen Aufruf zu erhaltenden feholdexcept oder fegetenv oder ein Floating-Point-Makro konstant. Wenn einer der Floating-Point-Status-Flags in envp gesetzt werden, werden sie in der Umgebung gesetzt (und sind dann prüfbar mit fetestexcept) aber die entsprechenden Gleitkomma-Exceptions werden nicht erhoben (Ausführung ohne Unterbrechung fortgesetzt)Original:
Attempts to establish the floating-point environment from the object pointed to by
envp. The value of that object must be previously obtained by a call to feholdexcept or fegetenv or be a floating-point macro constant. If any of the floating-point status flags are set in envp, they become set in the environment (and are then testable with fetestexcept), but the corresponding floating-point exceptions are not raised (execution continues uninterrupted)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.
Parameter
| envp | - | Zeiger auf das Objekt vom Typ
fenv_t die den Status hält der Floating-Point-UmgebungOriginal: pointer to the object of type fenv_t which holds the status of the floating-point environmentThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Rückgabewert
0 bei Erfolg Null sonst .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.
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
(C99) |
schont die Umwelt, löscht alle Status-Flags und ignoriert alle zukünftigen Fehler 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. (Funktion) |
(C99) |
stellt die Floating-Point-Umgebung und stellt die zuvor Ausnahmen auslösen 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. (Funktion) |
(C99) |
Standardmäßig Floating-Point-Umgebung 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. (Makro konstant) |
C++ documentation for fegetenv, fesetenv
| |