long

package
v0.6.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2026 License: EPL-1.0 Imports: 5 Imported by: 0

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

View Source
const (
	MIN_VALUE = jlong.MIN_VALUE
	MAX_VALUE = jlong.MAX_VALUE
	SIZE      = jlong.SIZE
	BYTES     = jlong.BYTES
)

Variables

This section is empty.

Functions

func BitCount

func BitCount(x any) int32

func Compare

func Compare(x, y any) int32

func HighestOneBit

func HighestOneBit(x any) int64

func LowestOneBit

func LowestOneBit(x any) int64

func Max

func Max(a, b any) int64

func Min

func Min(a, b any) int64

func NumberOfLeadingZeros

func NumberOfLeadingZeros(x any) int32

func NumberOfTrailingZeros

func NumberOfTrailingZeros(x any) int32

func ParseLong

func ParseLong(args ...any) any

func Reverse

func Reverse(x any) int64

func ReverseBytes

func ReverseBytes(x any) int64

func Signum

func Signum(x any) int32

func Sum

func Sum(a, b any) int64

func ToBinaryString

func ToBinaryString(x any) string

func ToHexString

func ToHexString(x any) string

func ToOctalString

func ToOctalString(x any) string

func ToString

func ToString(args ...any) string

func ValueOf

func ValueOf(x any) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL