fegetprec()

Get the floating-point precision

Synopsis:

#include <fenv.h>

int fegetprec( void );

Library:

libm

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

Description:

The fegetprec() function gets the current floating-point precision. To set the precision, call fesetprec().

Returns:

The current precision; one of the following:

Classification:

QNX Neutrino

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