---
title: MLCArithmeticOperation.floor
framework: ML Compute
role: symbol
role_heading: Case
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcarithmeticoperation/floor
---

# MLCArithmeticOperation.floor

Calculates the element-wise floor of the inputs.

## Declaration

```swift
case floor
```

## See Also

### Rounding Operations

- [MLCArithmeticOperation.round](mlcompute/mlcarithmeticoperation/round.md)
- [MLCArithmeticOperation.ceil](mlcompute/mlcarithmeticoperation/ceil.md)
