The __fpc_sm() function
changes the rounding mode field of the floating-point control (FPC)
register based on the value of
rmode as
follows:
- Value
- Description
- _RMODE_RN
- Round to nearest
- _RMODE_RZ
- Round toward zero
- _RMODE_RP
- Round toward +infinity
- _RMODE_RM
- Round toward -infinity