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

Functions

float remainderf (float x, float y)
 Compute reminder required by IEC 60559. More...
 

Function Documentation

◆ remainderf()

float remainderf ( float  x,
float  y 
)

Compute reminder required by IEC 60559.

The remainderf 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.