ceremonyclient/bedlam/pkg/math/const.qcl
Cassandra Heart dbd95bd9e9
v2.1.0 (#439)
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete

* 2.1.0 main node rollup
2025-09-30 02:48:15 -05:00

29 lines
759 B
Go

// -*- go -*-
//
// Copyright (c) 2020-2023 Markku Rossi
//
// All rights reserved.
//
package math
const (
// MaxUint8 is the maximum unsigned 8-bit integer value.
MaxUint8 = 0xff
// MaxUint16 is the maximum unsigned 16-bit integer value.
MaxUint16 = 0xffff
// MaxUint32 is the maximum unsigned 32-bit integer value.
MaxUint32 = 0xffffffff
// MaxUint64 is the maximum unsigned 64-bit integer value.
MaxUint64 = 0xffffffffffffffff
// MaxInt32 is the maximum signed 8-bit integer value.
MaxInt8 = 127
// MaxInt32 is the maximum signed 16-bit integer value.
MaxInt16 = 32767
// MaxInt32 is the maximum signed 32-bit integer value.
MaxInt32 = 2147483647
// MaxInt32 is the maximum signed 64-bit integer value.
MaxInt64 = 9223372036854775807
)