gxmath

package
v0.0.0-...-6bc30ac Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsInt16

func AbsInt16(n int16) int16

AbsInt16 abs of int16

func AbsInt32

func AbsInt32(n int32) int32

AbsInt32 abs of int32

func AbsInt64

func AbsInt64(n int64) int64

AbsInt64 abs of int64

func AbsInt8

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