From 61943d0f132d9a97c488faabadf06446ab4a69a6 Mon Sep 17 00:00:00 2001 From: ko_oler <kooler89@gmail.com> Date: Thu, 5 Oct 2023 12:12:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/schema/field/number.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/schema/field/number.go b/pkg/schema/field/number.go index de96a3f6..68e76578 100644 --- a/pkg/schema/field/number.go +++ b/pkg/schema/field/number.go @@ -10,8 +10,8 @@ import ( const ( NumberFormatInt = "int" NumberFormatFloat = "float" - maxInt = 1<<53 - 1 - minInt = -1<<53 + 1 + maxInt = 1<<53 - 1 // Integers from в€’9,007,199,254,740,992 to 9,007,199,254,740,992 can be exactly represented in float64. + minInt = -1<<53 + 1 // Integers from в€’9,007,199,254,740,992 to 9,007,199,254,740,992 can be exactly represented in float64. ) var numberType = &NumberType{} -- GitLab