UInt
An unsigned integer value type.
Declaration
@frozen struct UIntOverview
On 32-bit platforms, UInt is the same size as UInt32, and on 64-bit platforms, UInt is the same size as UInt64.
Topics
Structures
Operators
!=(_:_:)&=(_:_:)&<<=(_:_:)&>>=(_:_:)*=(_:_:)+=(_:_:)-=(_:_:)==(_:_:)<(_:_:)/=(_:_:)^=(_:_:)|=(_:_:)%=(_:_:)
Initializers
init(_:)init(_:)init(_:)init(_:)init(_:)init(_:)init(bitPattern:)init(bitPattern:)init(bitPattern:)init(bitPattern:)init(exactly:)init(exactly:)init(exactly:)init(exactly:)init(exactly:)init(truncating:)
Instance Properties
Instance Methods
addingReportingOverflow(_:)dividedReportingOverflow(by:)dividingFullWidth(_:)multipliedFullWidth(by:)multipliedReportingOverflow(by:)remainderReportingOverflow(dividingBy:)signum()subtractingReportingOverflow(_:)
Type Aliases
Type Properties
Default Implementations
AdditiveArithmetic ImplementationsAtomicRepresentable ImplementationsBinaryInteger ImplementationsComparable ImplementationsCustomReflectable ImplementationsDecodable ImplementationsEncodable ImplementationsEquatable ImplementationsExpressibleByIntegerLiteral ImplementationsFixedWidthInteger ImplementationsHashable ImplementationsSIMDScalar ImplementationsUnsignedInteger Implementations