Skip to content

TSingleHelper.BuildUp

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

Declaration

Source position: syshelph.inc line 709

public 
procedure TSingleHelper.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.Sign Sign of the floating point value.
TSingleHelper.Exp The bit pattern of the exponent as stored in memory.
TSingleHelper.Frac Bitpattern that makes up the fractional part.