Standards
Standards / Extensions |
C or C++ |
Dependencies |
|
Both |
OS/390® V2R6 |
Syntax
#include <_Ieee754.h>
void __fpc_rw(_FP_fpcreg_t *cur_ptr, _FP_fpcreg_t *new_ptr);
General description
The __fpc_rw() function
stores the current contents of the floating-point control (FPC) register
at the location pointed to by cur_ptr and
then replaces the contents of the floating-point control (FPC) register
with the value pointed to by new_ptr.
Note: - When processing IEEE floating-point values, the C/C++ runtime
library math functions require IEEE rounding mode of round to nearest.
The C/C++ runtime library takes care of setting round to nearest rounding
mode while executing math functions and restoring application rounding
mode before returning to the caller.
- This function does not return or update decimal floating-point
rounding mode bits.