scalbn


Description:

public double scalbn (double x, int n)

Multiplies it's first argument x by 2 to the power n.

Note:

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

The GLib.Math.scalbn function multiplies their first argument x by 2 to the power n. GLib.Math.scalbn is equivalent to GLib.Math.ldexp.

Parameters:

x

A numeric value.

n

A numeric value.


Namespace: GLib.Math
Package: glib-2.0