---
title: "addingReportingOverflow(_:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/uint32/addingreportingoverflow(_:)"
---

# addingReportingOverflow(_:)

Returns the sum of this value and the given value, along with a Boolean value indicating whether overflow occurred in the operation.

## Declaration

```swift
func addingReportingOverflow(_ other: UInt32) -> (partialValue: UInt32, overflow: Bool)
```

## Return Value

Return Value A tuple containing the result of the addition along with a Boolean value indicating whether overflow occurred. If the overflow component is false, the partialValue component contains the entire sum. If the overflow component is true, an overflow occurred and the partialValue component contains the truncated sum of this value and rhs.
