expm1


Description:

public double expm1 (double x)

Returns a value equivalent to exp(x) - 1.

Note:

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

It is computed in a way that is accurate even if the value of x is near zero; a case where exp(x) - 1 would be inaccurate due to subtraction of two numbers that are nearly equal.

Parameters:

x

A numeric value


Namespace: GLib.Math
Package: glib-2.0