Skip to content

cardinal type

Maarten Hilferink edited this page Nov 5, 2025 · 1 revision

The cardinal type of a values type v is the smallest unsigned integer type that can represent the cardinality of (almost) all subsets of v, i.e.

UInt8 for Int8 and UInt8. UInt16 for Int16 and UInt16 UInt32 for Int32, UInt32, SPoint, and WPoint UInt64 for Int64, UInt64, IPoint, and UPoint

Clone this wiki locally