builtin: move min/max integer values consts from math to builtin (#19809)

This commit is contained in:
Artem Yurchenko 2023-11-08 19:43:48 +01:00 committed by GitHub
parent 7e7e43866a
commit 97f7c3f609
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 90 additions and 27 deletions

View file

@ -22,6 +22,7 @@ const (
m4 = u64(0x0000ffff0000ffff)
)
// TODO: this consts should be taken from int.v
const (
// save importing math mod just for these
max_u32 = u32(4294967295)