[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

TSingleRec

Extended value record

Declaration

Source position: mathh.inc line 200

type TSingleRec = packed record

public

  function Mantissa();

  

Mantissa of the floating point value

  function Fraction;

  

Fraction of the floating point value

  function Exponent;

  

Exponent of the floating point value

  property Sign: Boolean; [rw]

  

Sign of the floating point value

  property Exp: QWord; [rw]

  

Exponent bitpattern representation

  property Frac: QWord; [rw]

  

Fractional part of single

  function SpecialType;

  

Is the floating point value special ?

  procedure BuildUp();

  case Byte of

    0: (

        Bytes: array [0..3] of Byte;

  

Value as bytes

      );

    1: (

        Words: array [0..1] of Word;

  

Value as words

      );

    2: (

        Data: DWord;

  

Value as QWord

      );

    3: (

        Value: Single;

  

Value as single

      );

end;

Description

TsingleRec models the memory layout of a double value when using software floating point math.

See also

TsingleRec

  

Extended value record

TSingleRec

  

Extended value record


Documentation generated on: May 14 2021