fmodf


Description:

public float fmodf (float x, float y)

Computes the remainder of dividing x by y.

Note:

Remember to link the math library: valac -X -lm ...

The return value is x - n * y, where n is the quotient of x / y, rounded towards zero to an integer.

Parameters:

x

A numeric value.

y

A numeric value.


Namespace: GLib.Math
Package: glib-2.0