System.SysUtils.TDoubleHelper.Exp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Exp: UInt64 read GetExp write SetExp;

Properties

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

Description

Represents the raw exponent part in the fraction number.

Exp is represented on 11 bits.

The Exp property provides direct access to the UInt64 exponent 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. To calculate the Exp, the bias, 1023, is added to 4, the exponent after the normalization.

See Also