---
title: MTLFloatingPointConversionRoundingMode
framework: Metal
role: symbol
role_heading: Enumeration
path: metal/mtlfloatingpointconversionroundingmode
---

# MTLFloatingPointConversionRoundingMode

## Declaration

```swift
enum MTLFloatingPointConversionRoundingMode
```

## Overview

Overview The rounding mode for narrowing floating-point conversions. Round-to-nearest-even (default). Standard IEEE 754 rounding mode. Round-toward-zero.

## Topics

### Enumeration Cases

- [MTLFloatingPointConversionRoundingMode.toNearestEven](metal/mtlfloatingpointconversionroundingmode/tonearesteven.md)
- [MTLFloatingPointConversionRoundingMode.towardZero](metal/mtlfloatingpointconversionroundingmode/towardzero.md)

### Initializers

- [init(rawValue:)](metal/mtlfloatingpointconversionroundingmode/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
