Get the floating-point precision
#include <fenv.h> int fegetprec( void );
The fegetprec() function gets the current floating-point precision. To set the precision, call fesetprec().
The current precision; one of the following:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |