Skip to content

TDoubleHelper.BuildUp

Build a Double-sized floating point from its composing parts.

Declaration

Source position: syshelph.inc line 771

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

Description

BuildUp will compose a Double-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
TDoubleHelper.Sign Sign of the floating point value.
TDoubleHelper.Exp The bit pattern of the exponent as stored in memory.
TDoubleHelper.Frac Bitpattern that makes up the fractional part.