EsbDecimals - a Free Subset of ESBPCS for .NET

DecimalOps.TwoPow Method

Computes the Specified Power of 2 using Series Expansion to almost full accuracy.

Methods for decimal, double and int Parameters.

Overload List

Computes the Specified Power of 2 using series expansion.

public static decimal TwoPow(decimal);

Computes the Specified Power of 2 using series expansion.

public static decimal TwoPow(double);

Computes the Specified Power of 2 using series expansion.

public static decimal TwoPow(int);

See Also

DecimalOps Class | Esb.Math Namespace