gxmath

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 AbsInt8 added in v1.11.23

func AbsInt8(n int8) int8

AbsInt8 abs of int8

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