gxmath

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsInt8 added in v1.11.23

func AbsInt8(n int8) int8

AbsInt8 abs of int8

func AbsInt16 added in v1.11.23

func AbsInt16(n int16) int16

AbsInt16 abs of int16

func AbsInt32 added in v1.11.23

func AbsInt32(n int32) int32

AbsInt32 abs of int32

func AbsInt64 added in v1.11.23

func AbsInt64(n int64) int64

AbsInt64 abs of int64

func DeltaCompareFloat32

func DeltaCompareFloat32(expected float32, actual float32, delta float32) bool

func DeltaCompareFloat64

func DeltaCompareFloat64(expected float64, actual float64, delta float64) bool

equivalent to math.Abs(expected - actual) <= delta

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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