ldexp


Description:

public double ldexp (double x, int exponent)

Returns the result of multiplying the floating-point number x by 2 raised to the power exponent.

Note:

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

Parameters:

x

A numeric value.

exponent

An integer value for the exponent.


Namespace: GLib.Math
Package: glib-2.0