Documentation
¶
Overview ¶
Package long exposes JVM-faithful java.lang.Long equivalents for code running on glojure. The structure mirrors the integer package; all values are typed as int64 to match Java's long width.
Index ¶
- Constants
- func BitCount(x any) int32
- func Compare(x, y any) int32
- func HighestOneBit(x any) int64
- func LowestOneBit(x any) int64
- func Max(a, b any) int64
- func Min(a, b any) int64
- func NumberOfLeadingZeros(x any) int32
- func NumberOfTrailingZeros(x any) int32
- func ParseLong(args ...any) any
- func Reverse(x any) int64
- func ReverseBytes(x any) int64
- func Signum(x any) int32
- func Sum(a, b any) int64
- func ToBinaryString(x any) string
- func ToHexString(x any) string
- func ToOctalString(x any) string
- func ToString(args ...any) string
- func ValueOf(x any) int64
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func HighestOneBit ¶
func LowestOneBit ¶
func NumberOfLeadingZeros ¶
func NumberOfTrailingZeros ¶
func ReverseBytes ¶
func ToBinaryString ¶
func ToHexString ¶
func ToOctalString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.