Math Library Functions


fmod, fmodf


Syntax

#include <math.h>
double fmod(double x, double y);
float  fmodf(float x, float y);

Arguments

x      number to be divided
y      number to divide with

Return Value

The remainder of x/y 

Description

Returns the remainder of x/y.