Get the current floating-point rounding direction
#include <fenv.h> int fegetround( void );
The fegetround() function gets the current floating-point rounding direction. The FLT_ROUNDS macro also returns the current rounding direction.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |