log2


Description:

public double log2 (double x)

Returns the base 2 logarithm of x.

Note:

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

Parameters:

x

A numeric value.


Namespace: GLib.Math
Package: glib-2.0