mathx

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareFloats

func CompareFloats(f1 float64, f2 float64, e float64) bool

CompareFloats compares f1 and f2 using the given epsilon.

func RandomIntRange

func RandomIntRange(min, max int) int

RandomIntRange returns a random int within min, max but not includes max.

Types

This section is empty.

Jump to

Keyboard shortcuts

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