---
title: "ComputeNodeGraph.NodeDefinition.Kind.binaryArithmetic(a:b:operation:)"
framework: Compute Graph
role: symbol
role_heading: Case
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "computegraph/computenodegraph/nodedefinition/kind-swift.enum/binaryarithmetic(a:b:operation:)"
---

# ComputeNodeGraph.NodeDefinition.Kind.binaryArithmetic(a:b:operation:)

An arithmetic node with two operands of the given type, performing the specified operation

## Declaration

```swift
case binaryArithmetic(a: ComputeNodeGraph.DataType, b: ComputeNodeGraph.DataType, operation: BinaryOperation)
```
