unsigned - pannous/warp GitHub Wiki

unsigned

The only situation in which unsigned numbers are relevant in wasp is with 8bit bytes which are unsigned versus 32 and 62 bit integers which are (always) signed by default. For other numbers the condept of unsigned is irrelevant, except for rare interactions with other ABIs

C's type names

C's type names of several words are the fixed width they mean in C, with a note naming warp's word:

x: unsigned int = 3     // uint32: 0 … 4294967295, an error outside
y: long long = 3        // int64

unsigned short is uint16, unsigned long uint64, unsigned char byte. A single int or long stays warp's unbounded int.