| BuildFromParts Function |
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 FloatsImplementation
function BuildFromParts (const Mantissa: Extended;
const Exponent: Integer): Extended;
begin
Result := Mantissa * TenToY (Exponent);
End; |
|
|