System.Math.TSSERoundingMode
Delphi
TSSERoundingMode = type TRoundingMode;
C++
typedef TRoundingMode TSSERoundingMode;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum typedef |
public | System.Math.pas System.Math.hpp |
System.Math | System.Math |
Description
Enumerates the SSE's floating-point rounding modes.
On 64-bit platforms, the SSE (Streaming SIMD Extensions) instructions handle floating-point calculations. GetSSERoundMode is used to read, and SetSSERoundMode is used to set the SSE's rounding mode.
TSSERoundingMode can be one of the following values defined by TRoundingMode.
Value | Meaning |
---|---|
|
Rounds to the closest integer value. |
|
Rounds toward negative infinity. |
|
Rounds toward positive infinity. |
|
Truncates the value, rounding positive numbers down and negative numbers up. |