---
title: UnsignedInteger
framework: swift
role: symbol
role_heading: Protocol
path: swift/unsignedinteger
---

# UnsignedInteger

An integer type that can represent only nonnegative values.

## Declaration

```swift
protocol UnsignedInteger : BinaryInteger
```

## Topics

### Instance Methods

- [dividingFullWidth(_:)](swift/unsignedinteger/dividingfullwidth(_:).md)

### Type Properties

- [max](swift/unsignedinteger/max.md)
- [min](swift/unsignedinteger/min.md)

## Relationships

### Inherits From

- [AdditiveArithmetic](swift/additivearithmetic.md)
- [BinaryInteger](swift/binaryinteger.md)
- [Comparable](swift/comparable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByIntegerLiteral](swift/expressiblebyintegerliteral.md)
- [Hashable](swift/hashable.md)
- [Numeric](swift/numeric.md)
- [Strideable](swift/strideable.md)

### Conforming Types

- [UInt](swift/uint.md)
- [UInt128](swift/uint128.md)
- [UInt16](swift/uint16.md)
- [UInt32](swift/uint32.md)
- [UInt64](swift/uint64.md)
- [UInt8](swift/uint8.md)

## See Also

### Integer

- [BinaryInteger](swift/binaryinteger.md)
- [FixedWidthInteger](swift/fixedwidthinteger.md)
- [SignedInteger](swift/signedinteger.md)
