util

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(x float64) float64

Abs returns the absolute value.

func Equal

func Equal(a, b any) bool

Equal reports whether a and b of any identical type are equal.

func Getenv

func Getenv(key string) string

Getenv returns the value of the environment variable named by the key.

func IsNaN

func IsNaN(x float64) bool

HasNaN returns true when the value is NaN and false otherwise.

func Signbit

func Signbit(value float64) bool

Signbit returns whether value is negative or negative zero.

Types

This section is empty.

Jump to

Keyboard shortcuts

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