Instance Property

# significand

The significand of the floating-point value.

## Discussion

The magnitude of a floating-point value `x` of type `F` can be calculated by using the following formula, where `**` is exponentiation:

In the next example, `y` has a value of `21.5`, which is encoded as `1.34375 * 2 ** 4`. The significand of `y` is therefore 1.34375.

If a type’s radix is 2, then for finite nonzero numbers, the significand is in the range `1.0 ..< 2.0`. For other values of `x`, `x.significand` is defined as follows:

• If `x` is zero, then `x.significand` is 0.0.

• If `x` is infinite, then `x.significand` is infinity.

• If `x` is NaN, then `x.significand` is NaN.

## Relationships

### Querying a Float

`var ulp: Float`

The unit in the last place of this value.

`var exponent: Int`

The exponent of the floating-point value.

`var nextUp: Float`

The least representable value that compares greater than this value.

`var nextDown: Float`

The greatest representable value that compares less than this value.

`var binade: Float`

The floating-point value with the same sign and exponent as this value, but with a significand of 1.0.