---
title: Int32
framework: swift
role: symbol
role_heading: Structure
path: swift/int32
---

# Int32

A 32-bit signed integer value type.

## Declaration

```swift
@frozen struct Int32
```

## Topics

### Structures

- [Int32.Words](swift/int32/words-swift.struct.md)

### Operators

- [!=(_:_:)](swift/int32/!=(_:_:).md)
- [&=(_:_:)](swift/int32/&=(_:_:).md)
- [&<<=(_:_:)](swift/int32/&__=(_:_:)-5xpt1.md)
- [&>>=(_:_:)](swift/int32/&__=(_:_:)-9l16.md)
- [*=(_:_:)](swift/int32/*=(_:_:).md)
- [+=(_:_:)](swift/int32/+=(_:_:).md)
- [-=(_:_:)](swift/int32/-=(_:_:).md)
- [==(_:_:)](swift/int32/==(_:_:).md)
- [<(_:_:)](swift/int32/_(_:_:)-3k2xk.md)
- [^=(_:_:)](swift/int32/_=(_:_:)-46xu7.md)
- [|=(_:_:)](swift/int32/_=(_:_:)-6hsuo.md)
- [%=(_:_:)](swift/int32/_=(_:_:)-8flrz.md)
- [/=(_:_:)](swift/int32/_=(_:_:)-997bi.md)

### Initializers

- [init(_:)](swift/int32/init(_:)-1817u.md)
- [init(_:)](swift/int32/init(_:)-2px8y.md)
- [init(_:)](swift/int32/init(_:)-34fue.md)
- [init(_:)](swift/int32/init(_:)-3zpp6.md)
- [init(_:)](swift/int32/init(_:)-5nznu.md)
- [init(_:)](swift/int32/init(_:)-k0sh.md)
- [init(bitPattern:)](swift/int32/init(bitpattern:).md)
- [init(exactly:)](swift/int32/init(exactly:)-3dltv.md)
- [init(exactly:)](swift/int32/init(exactly:)-5hlj9.md)
- [init(exactly:)](swift/int32/init(exactly:)-79vj5.md)
- [init(exactly:)](swift/int32/init(exactly:)-7dio6.md)
- [init(exactly:)](swift/int32/init(exactly:)-9tpyy.md)
- [init(truncating:)](swift/int32/init(truncating:).md)

### Instance Properties

- [byteSwapped](swift/int32/byteswapped.md)
- [customPlaygroundQuickLook](swift/int32/customplaygroundquicklook.md)
- [leadingZeroBitCount](swift/int32/leadingzerobitcount.md)
- [magnitude](swift/int32/magnitude-swift.property.md)
- [nonzeroBitCount](swift/int32/nonzerobitcount.md)
- [trailingZeroBitCount](swift/int32/trailingzerobitcount.md)
- [words](swift/int32/words-swift.property.md)

### Instance Methods

- [addingReportingOverflow(_:)](swift/int32/addingreportingoverflow(_:).md)
- [dividedReportingOverflow(by:)](swift/int32/dividedreportingoverflow(by:).md)
- [dividingFullWidth(_:)](swift/int32/dividingfullwidth(_:).md)
- [multipliedFullWidth(by:)](swift/int32/multipliedfullwidth(by:).md)
- [multipliedReportingOverflow(by:)](swift/int32/multipliedreportingoverflow(by:).md)
- [remainderReportingOverflow(dividingBy:)](swift/int32/remainderreportingoverflow(dividingby:).md)
- [signum()](swift/int32/signum().md)
- [subtractingReportingOverflow(_:)](swift/int32/subtractingreportingoverflow(_:).md)

### Type Aliases

- [Int32.IntegerLiteralType](swift/int32/integerliteraltype.md)
- [Int32.Magnitude](swift/int32/magnitude-swift.typealias.md)
- [Int32.Stride](swift/int32/stride.md)

### Type Properties

- [bitWidth](swift/int32/bitwidth.md)
- [mlMultiArrayDataType](swift/int32/mlmultiarraydatatype.md)

### Default Implementations

- [AdditiveArithmetic Implementations](swift/int32/additivearithmetic-implementations.md)
- [AtomicRepresentable Implementations](swift/int32/atomicrepresentable-implementations.md)
- [BinaryInteger Implementations](swift/int32/binaryinteger-implementations.md)
- [Comparable Implementations](swift/int32/comparable-implementations.md)
- [CustomReflectable Implementations](swift/int32/customreflectable-implementations.md)
- [Decodable Implementations](swift/int32/decodable-implementations.md)
- [Encodable Implementations](swift/int32/encodable-implementations.md)
- [Equatable Implementations](swift/int32/equatable-implementations.md)
- [ExpressibleByIntegerLiteral Implementations](swift/int32/expressiblebyintegerliteral-implementations.md)
- [FixedWidthInteger Implementations](swift/int32/fixedwidthinteger-implementations.md)
- [Hashable Implementations](swift/int32/hashable-implementations.md)
- [SIMDScalar Implementations](swift/int32/simdscalar-implementations.md)
- [SignedInteger Implementations](swift/int32/signedinteger-implementations.md)
- [SignedNumeric Implementations](swift/int32/signednumeric-implementations.md)

## Relationships

### Conforms To

- [AdditiveArithmetic](swift/additivearithmetic.md)
- [AtomicRepresentable](synchronization/atomicrepresentable.md)
- [BNNSScalar](accelerate/bnnsscalar.md)
- [BinaryInteger](swift/binaryinteger.md)
- [BitwiseCopyable](swift/bitwisecopyable.md)
- [CKRecordValueProtocol](cloudkit/ckrecordvalueprotocol.md)
- [CVAttachmentValueRepresentable](corevideo/cvattachmentvaluerepresentable.md)
- [CVarArg](swift/cvararg.md)
- [Comparable](swift/comparable.md)
- [Copyable](swift/copyable.md)
- [CustomReflectable](swift/customreflectable.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [ExpressibleByIntegerLiteral](swift/expressiblebyintegerliteral.md)
- [FixedWidthInteger](swift/fixedwidthinteger.md)
- [Hashable](swift/hashable.md)
- [IntentValueConvertible](appintents/intentvalueconvertible.md)
- [IntentValueExpressing](appintents/intentvalueexpressing.md)
- [LosslessStringConvertible](swift/losslessstringconvertible.md)
- [MLShapedArrayScalar](coreml/mlshapedarrayscalar.md)
- [MLTensorScalar](coreml/mltensorscalar.md)
- [NetworkFixedWidthInteger](network/networkfixedwidthinteger.md)
- [Numeric](swift/numeric.md)
- [Plottable](charts/plottable.md)
- [PrimitivePlottableProtocol](charts/primitiveplottableprotocol.md)
- [SIMDScalar](swift/simdscalar.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SignedInteger](swift/signedinteger.md)
- [SignedNumeric](swift/signednumeric.md)
- [Strideable](swift/strideable.md)
- [USDPrim.Attribute.MetadataValue](usdkit/usdprim/attribute/metadatavalue.md)
- [USDPrim.Attribute.Value](usdkit/usdprim/attribute/value.md)
- [USDValueProtocol](usdkit/usdvalueprotocol.md)
- [vDSP_IntegerConvertable](accelerate/vdsp_integerconvertable.md)

## See Also

### Signed Integers

- [Int8](swift/int8.md)
- [Int16](swift/int16.md)
- [Int64](swift/int64.md)
- [Int128](swift/int128.md)
