1
1
mirror of https://github.com/wader/fq.git synced 2024-12-26 15:02:28 +03:00
fq/internal/gojqextra/math.go
2021-10-17 14:43:37 +02:00

13 lines
261 B
Go

// from gojq
// The MIT License (MIT)
// Copyright (c) 2019-2021 itchyny
package gojqextra
import "math/bits"
const (
maxInt = 1<<(bits.UintSize-1) - 1 // math.MaxInt64 or math.MaxInt32
minInt = -maxInt - 1 // math.MinInt64 or math.MinInt32
)