From bff482f73b98f18bfb7a6fb8c0b9a86af5697f03 Mon Sep 17 00:00:00 2001 From: Fabio Bozzo Date: Fri, 29 Nov 2024 13:04:14 +0100 Subject: [PATCH] add constants.go --- pkg/policy/limits/constants.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pkg/policy/limits/constants.go diff --git a/pkg/policy/limits/constants.go b/pkg/policy/limits/constants.go new file mode 100644 index 0000000..c2d1fd5 --- /dev/null +++ b/pkg/policy/limits/constants.go @@ -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 +)