Open rtulip opened 1 year ago
If the highest bit of the unsigned int is set in a literal, then it doesn't get treated correctly.
fn main() { // 0x10000000000000 4503599627370496 println //prints 0 // 0x0FFFFFFFFFFFFF 4503599627370495 println // prints a big number }
If the highest bit of the unsigned int is set in a literal, then it doesn't get treated correctly.