---
title: Int8
framework: swift
role: symbol
role_heading: Structure
path: swift/int8
---

# Int8

An 8-bit signed integer value type.

## Declaration

```swift
@frozen struct Int8
```

## Topics

### Structures

- [Int8.Words](swift/int8/words-swift.struct.md)

### Operators

- [!=(_:_:)](swift/int8/!=(_:_:).md)
- [&=(_:_:)](swift/int8/&=(_:_:).md)
- [&>>=(_:_:)](swift/int8/&__=(_:_:)-17e9w.md)
- [&<<=(_:_:)](swift/int8/&__=(_:_:)-7gdrc.md)
- [*=(_:_:)](swift/int8/*=(_:_:).md)
- [+=(_:_:)](swift/int8/+=(_:_:).md)
- [-=(_:_:)](swift/int8/-=(_:_:).md)
- [==(_:_:)](swift/int8/==(_:_:).md)
- [<(_:_:)](swift/int8/_(_:_:)-1kdfe.md)
- [|=(_:_:)](swift/int8/_=(_:_:)-19gzu.md)
- [/=(_:_:)](swift/int8/_=(_:_:)-2auqb.md)
- [^=(_:_:)](swift/int8/_=(_:_:)-2mpgr.md)
- [%=(_:_:)](swift/int8/_=(_:_:)-3o9cs.md)

### Initializers

- [init(_:)](swift/int8/init(_:)-2vdru.md)
- [init(_:)](swift/int8/init(_:)-44cer.md)
- [init(_:)](swift/int8/init(_:)-47zy8.md)
- [init(_:)](swift/int8/init(_:)-4erk2.md)
- [init(_:)](swift/int8/init(_:)-6g8q9.md)
- [init(_:)](swift/int8/init(_:)-7renq.md)
- [init(bitPattern:)](swift/int8/init(bitpattern:).md)
- [init(exactly:)](swift/int8/init(exactly:)-1vh5j.md)
- [init(exactly:)](swift/int8/init(exactly:)-6zkv6.md)
- [init(exactly:)](swift/int8/init(exactly:)-72z4.md)
- [init(exactly:)](swift/int8/init(exactly:)-78es1.md)
- [init(exactly:)](swift/int8/init(exactly:)-9cjj7.md)
- [init(truncating:)](swift/int8/init(truncating:).md)

### Instance Properties

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

### Instance Methods

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

### Type Aliases

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

### Type Properties

- [bitWidth](swift/int8/bitwidth.md)

### Default Implementations

- [AdditiveArithmetic Implementations](swift/int8/additivearithmetic-implementations.md)
- [AtomicRepresentable Implementations](swift/int8/atomicrepresentable-implementations.md)
- [BinaryInteger Implementations](swift/int8/binaryinteger-implementations.md)
- [Comparable Implementations](swift/int8/comparable-implementations.md)
- [CustomReflectable Implementations](swift/int8/customreflectable-implementations.md)
- [Decodable Implementations](swift/int8/decodable-implementations.md)
- [Encodable Implementations](swift/int8/encodable-implementations.md)
- [Equatable Implementations](swift/int8/equatable-implementations.md)
- [ExpressibleByIntegerLiteral Implementations](swift/int8/expressiblebyintegerliteral-implementations.md)
- [FixedWidthInteger Implementations](swift/int8/fixedwidthinteger-implementations.md)
- [Hashable Implementations](swift/int8/hashable-implementations.md)
- [SIMDScalar Implementations](swift/int8/simdscalar-implementations.md)
- [SignedInteger Implementations](swift/int8/signedinteger-implementations.md)
- [SignedNumeric Implementations](swift/int8/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)
- [USDValueProtocol](usdkit/usdvalueprotocol.md)
- [vDSP_IntegerConvertable](accelerate/vdsp_integerconvertable.md)

## See Also

### Signed Integers

- [Int16](swift/int16.md)
- [Int32](swift/int32.md)
- [Int64](swift/int64.md)
- [Int128](swift/int128.md)
