fegetround()

Get the current floating-point rounding direction

Synopsis:

#include <fenv.h>

int fegetround( void );

Library:

libm

Use the -l m option to qcc to link against this library.

Description:

The fegetround() function gets the current floating-point rounding direction. The FLT_ROUNDS macro also returns the current rounding direction.

Returns:

Classification:

C99, POSIX 1003.1

Safety:  
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes