NAME
ffmmoodd - floating-point remainder function
SYNOPSIS
##iinncclluuddee <
double ffmmoodd(double x, double y); long double ffmmooddll(long double x, long double y); float ffmmooddff(float x, float y);> DESCRIPTION
The ffmmoodd() functions compute the floating-point remainder of x/ y.
Specifically, the functions return the value x-i*y, for some integer i
such that, if y is non-zero, the result has the same sign as x and magni-
tude less than the magnitude of y. SSPPEECCIIAALL VVAALLUUEESSffmmoodd(+-0, y) returns +-0 for y not zero.
ffmmoodd(x, y) returns a NaN and raises the "invalid" floating-point excep-
tion for x infinite or y zero.ffmmoodd(x, +-infinity) returns x for x not infinite.
SEE ALSO
math(3) STANDARDS The ffmmoodd() functions conform to ISO/IEC 9899:1999(E). BSD November 20, 2002 BSD