modf


Description:

public double modf (double x, out double iptr)

Breaks the argument x into an integral part and a fractional part, each of which has the same sign as x.

Note:

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

The integral part is stored in output variable iptr.

Parameters:

x

A numeric value.

iptr

The output variable for the integral part.


Namespace: GLib.Math
Package: glib-2.0