Click or drag to resize
mathsignificand Method (Double)
Gets the significand of the specified floating-point number.

Namespace:  C
Assembly:  C.math (in C.math.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static double significand(
	double number
)

Parameters

number
Type: SystemDouble
A floating-point number.

Return Value

Type: Double
The significand of the specified floating-point number, or number if it not normal or subnormal.
Remarks

The significand is a number in the interval [1, 2) so that number = significand(number) * 2^logb(number). If number is subnormal, it is normalized so that the significand falls in the interval [1, 2).

Examples
Assert.IsTrue(math.significand(0D) == 0D);
Assert.IsTrue(math.significand(-0D) == -0D);
Assert.IsTrue(math.significand(1D) == 1D);
Assert.IsTrue(math.significand(4D) == 1D);
Assert.IsTrue(math.significand(6D) == 1.5D);
Assert.IsTrue(math.significand(7D) == 1.75D);
Assert.IsTrue(math.significand(8D) == 1D);
Assert.IsTrue(math.significand(math.DBL_DENORM_MIN) == 1D);
See Also