mathhelper

package
v0.0.0-...-ae75a06 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const EPSILON = 0.0001

EPSILON is used because float equality and zeroness is unpredictable.

Variables

This section is empty.

Functions

func IsEqual

func IsEqual(a, b float32) bool

IsEqual checks two float32 values are equal or not using defined EPSILON.

Types

This section is empty.

Jump to

Keyboard shortcuts

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