UInt

E427886

UInt is Swift’s built-in unsigned integer type used for representing nonnegative whole numbers whose size matches the platform’s native word size.

All labels observed (1)

Label Occurrences
UInt canonical 1

How this entity was disambiguated

Statements (47)

Predicate Object
instanceOf Swift primitive type
fixed-width integer type
unsigned integer type
availableSince Swift 1.0
bitWidthDependsOn platform word size
conformsTo BinaryInteger NERFINISHED
Codable
Comparable
Equatable
FixedWidthInteger NERFINISHED
Hashable
Numeric
Strideable
UnsignedInteger
defaultIntegerTypeInSwiftIs Int
definedIn Swift standard library NERFINISHED
hasInitializer init(_:) from integer literals
init(_:) from other integer types
init(clamping:) from BinaryInteger
init(truncatingIfNeeded:) from BinaryInteger
init?(exactly:) from BinaryInteger
hasLiteralProtocol ExpressibleByIntegerLiteral
hasOverflowBehavior trapping on overflow in default operators
hasOverflowOperators &+ &- &*
hasSignedness unsigned
hasStaticProperty bitWidth
max
min
isAliasFor UInt32 on 32-bit platforms
UInt64 on 64-bit platforms
isDefaultIntegerType false
isInteroperableWith C unsigned long on many platforms
represents nonnegative whole numbers
supportsOperation addition
bit shifting
bitwise AND
bitwise NOT
bitwise OR
bitwise XOR
comparison operators
division
multiplication
remainder
subtraction
usedFor array indices in some APIs
bitmask representations
performance-sensitive integer arithmetic

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.