---
title: MLCArithmeticOperation.divide
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/divide
---

# MLCArithmeticOperation.divide

Calculates the element-wise division of the inputs.

## Declaration

```swift
case divide
```

## See Also

### Basic Operations

- [MLCArithmeticOperation.add](mlcompute/mlcarithmeticoperation/add.md)
- [MLCArithmeticOperation.subtract](mlcompute/mlcarithmeticoperation/subtract.md)
- [MLCArithmeticOperation.multiply](mlcompute/mlcarithmeticoperation/multiply.md)
- [MLCArithmeticOperation.multiplyNoNaN](mlcompute/mlcarithmeticoperation/multiplynonan.md)
- [MLCArithmeticOperation.divideNoNaN](mlcompute/mlcarithmeticoperation/dividenonan.md)
- [MLCArithmeticOperation.min](mlcompute/mlcarithmeticoperation/min.md)
- [MLCArithmeticOperation.max](mlcompute/mlcarithmeticoperation/max.md)
