SYNOPSIS
#include <math.h>
double remainder(double x, double y);
float remainderf(float x, float y);
double drem(double x, double y);
float dremf(float x, float y);
double remquo(double x, double y, int *quo);
float remquof(float x, float y, int *quo);
DESCRIPTION
The
x - n * y;
where n is the integer nearest the exact value of x/y; if |n - x/y| = 1/2, then n is even.
The
The
The
PARAMETERS
- x
-
The value of the numerator.
- y
-
The value of the denominator.
- quo
-
Location to store the last 3 or more bits of n.
RETURN VALUES
The
If y is 0.0 or x is Infinity and
y is 0.0,
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.5 Documentation Build 40.