Returns the FPU rounding mode.
function GetRoundMode: TFPURoundingMode;
TFPURoundingMode GetRoundMode();
Call GetRoundingMode to ascertain 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!
|