raz / commit 9c7712e1

commit
9c7712e193c9b44cfe55302c9eab8ab015cc6fa1
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
b52a1d98
raz.md: MAX(U64) and MAX(UINT) keep their type, as a hexadecimal number above the largest I64 does

patch · log

2 files changed, +5 -2

doc/raz.md (history) modified +3 -1

@@ -832,7 +832,9 @@
832832 is 63. `POPCOUNT(x)` may also take a set, and counts its members.
833833 `MIN(T)` and `MAX(T)` are the smallest and the largest value of the
834834 integer type `T`, untyped constants: `MAX(U8)` is 255 and `MIN(I16)` is
835--32768. Each of the five, given constants, is a constant (section 4).
835+-32768; `MAX(U64)` and `MAX(UINT)`, above the largest `I64`, have their
836+own type, as a hexadecimal number above it has (section 2). Each of the five, given constants, is a
837+constant (section 4).
836838
837839 Relations compare as signed or unsigned according to the type.
838840

doc/report-history.md (history) modified +2 -1

@@ -235,7 +235,8 @@
235235 `Prop`, property tests and fuzzing with shrinking (volume 2). They are
236236 not core. And a twelfth thaw, by the owner's word: `MIN(T)` and
237237 `MAX(T)`, the smallest and largest value of an integer type, untyped
238- constants; and `CLZ(x)`, `CTZ(x)` and `POPCOUNT(x)`, which count the
238+ constants but for `MAX(U64)` and `MAX(UINT)`, which keep their type;
239+ and `CLZ(x)`, `CTZ(x)` and `POPCOUNT(x)`, which count the
239240 zero bits above the highest one, below the lowest one, and the one
240241 bits (or members of a set) of a word of an unsigned integer type, an
241242 `INT`, and of constants are a constant (sections 4, 6.1 and 6.8). A