|
NAMEfmod , fmodf ,
fmodl —
floating-point remainder functions
LIBRARYMath Library (libm, -lm)SYNOPSIS#include <math.h>
double
float
long double
DESCRIPTIONThefmod (), fmodf (), and
fmodl () functions compute the floating-point remainder
of x/ y.
RETURN VALUESIf y is non-zero, thefmod (),
fmodf (), and fmodl () functions
return the value
x-i*y, for some
integer i, such that the result has the same sign as
x and magnitude less than the magnitude of
y. If y is zero, a NaN is
produced.
SEE ALSOmath(3)STANDARDSThefmod (), fmodf (), and
fmodl () functions conform to ISO/IEC
9899:1999 (“ISO C99”).
Visit the GSP FreeBSD Man Page Interface. |