add constants.go

This commit is contained in:
Fabio Bozzo
2024-11-29 13:04:14 +01:00
parent ff79bbb443
commit bff482f73b

View File

@@ -0,0 +1,8 @@
package limits
const (
// MaxInt53 represents the maximum safe integer in JavaScript (2^53 - 1)
MaxInt53 = 9007199254740991
// MinInt53 represents the minimum safe integer in JavaScript (-2^53 + 1)
MinInt53 = -9007199254740991
)