# HG changeset patch # User Arun Giridhar # Date 1654194606 14400 # Node ID 20aa91d357be6ef3a692d211874e7405db55fd19 # Parent 7201d9b7cea6fbccfa5a42bfcf9f847b29b7ff75 NEWS.7.md: minor correction about hexadecimal constants NEWS.7.md: An 8-digit hexadecimal string yields a uint32 not a uint64. If the input is longer than 8 digits then it's uint64. diff -r 7201d9b7cea6 -r 20aa91d357be etc/NEWS.7.md --- a/etc/NEWS.7.md Thu Jun 02 19:52:08 2022 +0200 +++ b/etc/NEWS.7.md Thu Jun 02 14:30:06 2022 -0400 @@ -120,7 +120,7 @@ - Binary and hexadecimal constants like `0b101` and `0xDEADBEEF` now create integers (unsigned by default) with sizes determined from the number of digits present. For example, `0xff` creates a `uint8` value -and `0xDEADBEEF` creates a `uint64` value. You may also use a suffix of +and `0xDEADBEEF` creates a `uint32` value. You may also use a suffix of the form `u8`, `u16`, `u32`, `u64`, `s8`, `s16`, `s32`, or `s64` to explicitly specify the data type to use (`u` or `s` to indicate unsigned or signed and the number to indicate the integer size).