Documentation
¶
Overview ¶
Package double exposes JVM-faithful java.lang.Double equivalents for code running on glojure. The structure mirrors the integer/long packages; all values are typed as float64 to match Java's double width.
Index ¶
- Constants
- Variables
- func Compare(x, y any) int32
- func DoubleToLongBits(x any) int64
- func DoubleToRawLongBits(x any) int64
- func IsFinite(x any) bool
- func IsInfinite(x any) bool
- func IsNaN(x any) bool
- func LongBitsToDouble(x any) float64
- func Max(a, b any) float64
- func Min(a, b any) float64
- func ParseDouble(x any) float64
- func Sum(a, b any) float64
- func ToHexString(x any) string
- func ToString(x any) string
- func ValueOf(x any) float64
Constants ¶
View Source
const ( SIZE = jdouble.SIZE BYTES = jdouble.BYTES )
Variables ¶
View Source
var ( MIN_VALUE = jdouble.MIN_VALUE MAX_VALUE = jdouble.MAX_VALUE MIN_NORMAL = jdouble.MIN_NORMAL POSITIVE_INFINITY = jdouble.POSITIVE_INFINITY NEGATIVE_INFINITY = jdouble.NEGATIVE_INFINITY NaN = jdouble.NaN )
Functions ¶
func DoubleToLongBits ¶
func DoubleToRawLongBits ¶
func IsInfinite ¶
func LongBitsToDouble ¶
func ParseDouble ¶
func ToHexString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.