SYNOPSIS
#include <math.h>
double modf(double value, double *iptr);
float modf(float value, float *iptr);
DESCRIPTION
The
To check for error situations, set errno to 0 before
calling
PARAMETERS
- value
-
Is the floating point value to be broken down.
- iptr
-
Is the return pointer to integral portion of value.
RETURN VALUES
The
If value is NaN, NaN is returned, errno is set to EDOM and *iptr is set to NaN. If the return value would underflow, 0 is returned and errno is set to ERANGE.
CONFORMANCE
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.