DML_ROUNDING_MODE enumeration (directml.h)

Defines constants that specify a rounding mode.

Syntax

typedef enum DML_ROUNDING_MODE {
  DML_ROUNDING_MODE_HALVES_TO_NEAREST_EVEN,
  DML_ROUNDING_MODE_TOWARD_ZERO,
  DML_ROUNDING_MODE_TOWARD_INFINITY
} ;

Constants

 
DML_ROUNDING_MODE_HALVES_TO_NEAREST_EVEN
Specifies rounding halves to the nearest even integer.
DML_ROUNDING_MODE_TOWARD_ZERO
Specifies always rounding downward.
DML_ROUNDING_MODE_TOWARD_INFINITY
Specifies always rounding upward.

Requirements

Requirement Value
Header directml.h