Show: Delphi C++
Display Preferences

System.Math.TSSERoundingMode

From RAD Studio API Documentation
Jump to: navigation, search

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

rmNearest

Rounds to the closest integer value.

rmDown

Rounds toward negative infinity.

rmUp

Rounds toward positive infinity.

rmTruncate

Truncates the value, rounding positive numbers down and negative numbers up.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance