ilogb


Description:

public int ilogb (double x)

Returns the exponent part of their argument as a signed integer.

Note:

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

When no error occurs, the function is equivalent to the corresponding logb function, cast to int.

An error will occur for zero and infinity and NaN, and possibly for overflow.

Parameters:

x

A numeric value.


Namespace: GLib.Math
Package: glib-2.0