<!--
{
  "documentType" : "article",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/special-use-numeric-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Special-Use Numeric Types"
}
-->

# Special-Use Numeric Types

Work with fixed-width numeric types of different sizes.

## Topics

### Unsigned Integers

[`UInt`](/documentation/Swift/UInt)

An unsigned integer value type.

[`UInt8`](/documentation/Swift/UInt8)

An 8-bit unsigned integer value
type.

[`UInt16`](/documentation/Swift/UInt16)

A 16-bit unsigned integer value
type.

[`UInt32`](/documentation/Swift/UInt32)

A 32-bit unsigned integer value
type.

[`UInt64`](/documentation/Swift/UInt64)

A 64-bit unsigned integer value
type.

[`UInt128`](/documentation/Swift/UInt128)

A 128-bit unsigned integer value type.

### Signed Integers

[`Int8`](/documentation/Swift/Int8)

An 8-bit signed integer value
type.

[`Int16`](/documentation/Swift/Int16)

A 16-bit signed integer value
type.

[`Int32`](/documentation/Swift/Int32)

A 32-bit signed integer value
type.

[`Int64`](/documentation/Swift/Int64)

A 64-bit signed integer value
type.

[`Int128`](/documentation/Swift/Int128)

A 128-bit signed integer value type.

### Casting Between Integer Types

[`numericCast(_:)`](/documentation/Swift/numericCast(_:))

Returns the given integer as the equivalent value in a different integer
type.

### Floating-Point Values

[`Float16`](/documentation/Swift/Float16)

A half-precision (16-bit), floating-point value type.

[`Float80`](/documentation/Swift/Float80)

An extended-precision, floating-point value type.

### Floating-Point Type Aliases

[`Float32`](/documentation/Swift/Float32)

A 32-bit floating point type.

[`Float64`](/documentation/Swift/Float64)

A 64-bit floating point type.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)