From RAD Studio API Documentation
Jump to: navigation, search


property Frac: UInt64 read GetFrac write SetFrac;


Type Visibility Source Unit Parent
property public System.SysUtils.pas System.SysUtils TSingleHelper


Represents the raw fraction part in the number.

Frac is represented on 23 bits.

Frac represents the UInt64 mantissa of the TSingleHelper variable. This property provides direct access to the fraction part of the floating-point value.

The number 21, represented in binary, is 10101. After the normalization, the number looks like this: 1.0101 * 2^4. Frac is formed from the bits after the comma: 0101. Frac is represented on 23 bits, so we fill the '0101' sequence with zeros up to 23 digits.

See Also