TSingleHelper.BuildUp

Build a single-sized floating point from its composing parts

Declaration

Source position: syshelph.inc line 240

public 
  procedure BuildUp(const ASignFlag: Boolean; const AMantissa: QWord; 
                   const AExponent: Integer);

Description

BuildUp will compose a single-sized floating point value from the sign ASignFlag, mantissa AMantissa and exponent AExponent. It simply sets the Sign , Exp and Frac properties in 1 call.

See also

Name Description
TSingleHelper.Exp The bit pattern of the exponent as stored in memory.
TSingleHelper.Frac Bitpattern that makes up the fractional part.
TSingleHelper.Sign Sign of the floating point value

results matching ""

    No results matching ""