BuildFromParts Function
Returns an Extended constructed from a Mantissa and Exponent base 10.

Unit
QESBPCSMath

Declaration
Function BuildFromParts(const Mantissa: Extended; const Exponent: Integer): Extended;

Description
For Values with large negative exponents, ESBTolerance will need to be changed to a smaller value.

Parameters
Mantissa Resultant Mantissa in the form x.yyyyyyy.
Exponent Resultant Exponent of the float, ie power of 10.

Returns
x.yyyyyy * 10^Exponent.

Category
Arithmetic Routines for Floats

Implementation

function BuildFromParts (const Mantissa: Extended;
     const Exponent: Integer): Extended;
begin
     Result := Mantissa * TenToY (Exponent);
End;


HTML generated by Time2HELP
http://www.time2help.com