System.SysUtils.TExtendedHelper.Mantissa
Delphi
function Mantissa: UInt64;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas | System.SysUtils | TExtendedHelper |
Description
Returns the precision bits of the extended precision floating-point value.
Mantissa returns a UInt64 value.
Mantissa, also known as the significand, is formed from the raw fraction part of the number:
- On 64-bit Windows and ARM platform, the fraction part is represented on 52 bits. On these platforms, Mantissa is formed from the raw fraction part of the number with the 1 bit before.
- On 32-bit Windows, the fraction part is represented on 64 bits, which occupy all bits of UInt64. Therefore, on 32-bit Windows, Mantissa is exactly equals to the raw fraction part of the number.