☰
u8
u8
u8 -- 8-bit unsigned integer values
Functions
division and remainder with check for div-by-zero
would negation -thiz cause an overflow?
would addition thiz + other cause an overflow or underflow?
would subtraction thiz - other cause an overflow or underflow?
would multiplication thiz * other cause an overflow or underflow?
neg, add, sub, mul with wrap-around semantics
find the highest 1 bit in this integer and return integer with
this single bit set or 0 if this is 0.
this single bit set or 0 if this is 0.
count the number of trailing zeros in this integer.
count the number of 1 bits in the binary representation of this
integer.
integer.
is this u8 an ASCII white-space character?
Type Features
total order
equality
create hash code from this number
returns the number in whose bit representation all bits are ones