System.SysUtils.TSingleHelper.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 TSingleHelper

Description

Represents the raw exponent part in the fraction number.

Exp is represented on 8 bits.

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

See Also