fegetenv, fesetenv
Aus cppreference.com
<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 |
