fdim


Description:

public double fdim (double x, double y)

Returns max(x - y, 0).

Note:

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

If x or y or both are double.NAN, double.NAN is returned.

Parameters:

x

A numeric value.

y

A numeric value.


Namespace: GLib.Math
Package: glib-2.0