Fortran.MaxExponent Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

MaxExponent(Double) Gets the largest possible exponent of a floating-point number.
MaxExponent(Single) Gets the largest possible exponent of a floating-point number.

MaxExponent(Double)

Gets the largest possible exponent of a floating-point number.
C#
public static int MaxExponent(
	double x
)

Parameters

x  Double
A dummy real number.

Return Value

Int32
Always returns 1024.

MaxExponent(Single)

Gets the largest possible exponent of a floating-point number.
C#
public static int MaxExponent(
	float x
)

Parameters

x  Single
A dummy real number.

Return Value

Int32
Always returns 128.

See Also