Sets the FPU rounding mode.
function SetRoundMode(const RoundMode: TFPURoundingMode): TFPURoundingMode;
TFPURoundingMode SetRoundMode(const TFPURoundingMode RoundMode);
Math
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. |
Set8087CW
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|