finite


Description:

public int finite (double value)

Returns the value of not-a-number (NaN) checking.

Note:

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

Returns a non-zero value if value is neither infinite nor a not-a-number (NaN) value, and 0 otherwise.

Parameters:

value

A numeric value.


Namespace: GLib.Math
Package: glib-2.0