MicrOS
remainder.c File Reference
#include "../math.h"

Functions

double remainder (double x, double y)
 Compute reminder required by IEC 60559. More...
 

Function Documentation

◆ remainder()

double remainder ( double  x,
double  y 
)

Compute reminder required by IEC 60559.

The remainder functions compute the remainder x REM y required by IEC 60559.

Parameters
xValue of the quotient numerator..
yValue of the quotient denominator..
Returns
The remainder functions return x REM y. If y is zero, whether a domain error occurs or the functions return zero is implementation defined.