Query: modff
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MODF(3) BSD Library Functions Manual MODF(3)NAMEmodf -- return integral and fractional partsSYNOPSIS#include <math.h> double modf(double value, double *iptr); long double modfl(long double value, long double *iptr); float modff(float value, float *iptr);DESCRIPTIONThe modf() break value into integral and fractional parts, each of which has the same sign as the argument. They return the fractional part, and store the integral part (as a floating-point number) in the object pointed to by iptrSPECIAL VALUESmodf(+-infinity, iptr) returns +-0 and stores +-infinity in the object pointed to by iptr. modf(NaN, iptr) returns a NaN and stores a NaN in the object pointed to by iptr.SEE ALSOfrexp(3), ldexp(3), math(3)STANDARDSThe modf() functions conform to ISO/IEC 9899:2011.BSDDecember 11, 2006 BSD
Related Man Pages |
---|
modf(3) - debian |
modff(3) - debian |
modf(3) - centos |
modfl(3) - centos |
modf(3) - suse |
Similar Topics in the Unix Linux Community |
---|
Solaris 9 lroundf errors |