Sets the FPU rounding mode.
function SetRoundMode(const RoundMode: TFPURoundingMode): TFPURoundingMode;
TFPURoundingMode SetRoundMode(const TFPURoundingMode RoundMode);
Call SetRoundingMode to specify how the FPU handles rounding issues. The rounding mode can be any of the following values:
Value |
Meaning |
rmNearest |
Rounds to the closest value. |
rmDown |
Rounds toward negative infinity. |
rmUp |
Rounds toward positive infinity. |
rmTruncate |
Truncates the value, rounding positive numbers down and negative numbers up. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|