Fortran.Digits Method

Definition

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

Overload List

Digits(Double) Gets the number of binary digits in the mantissa of a floating-point number.
Digits(Single) Gets the number of binary digits in the mantissa of a floating-point number.

Digits(Double)

Gets the number of binary digits in the mantissa of a floating-point number.
C#
public static int Digits(
	double x
)

Parameters

x  Double
A dummy real number.

Return Value

Int32
Always returns 53.

Digits(Single)

Gets the number of binary digits in the mantissa of a floating-point number.
C#
public static int Digits(
	float x
)

Parameters

x  Single
A dummy real number.

Return Value

Int32
Always returns 24.

See Also