Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TFPURoundingMode

How to round floating point values.

Declaration

Source position: mathh.inc line 66

type TFPURoundingMode = (

  rmNearest,

  

Round to nearest integer.

  rmDown,

  

Round to biggest integer smaller than value.

  rmUp,

  

Round to smallest integer larger than value.

  rmTruncate

  

Cut off fractional part.

);

Description

TFPURoundingMode enumerates the possible values for software floating point math rounding. It has been moved here from the math unit.

See also

TFPUPrecisionMode

  

Type describing the default precision for Floating Point math.

softfloat_rounding_mode

  

Rounding mode for softfloat.


Documentation generated on: Oct 02 2024