NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | STANDARDS
$(NUCLEUS_DIR)/lib/libm.a #include <math.h>double fmod(double x, double y);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
The fmod() function computes the floating-point remainder of x/y.
The fmod() function returns the value x- i * y, for the integer i. If y is nonzero, the result has the same sign as x and a magnitude less than the magnitude of y. If y is zero, errno is set to EDOM and a system-dependent notification is performed.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
The fmod() function conforms to ANSI-C.
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | STANDARDS