math32

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(x float32) float32

Abs calls math.Abs() on float32.

func Ceil

func Ceil(x float32) float32

Ceil calls math.Ceil() on float32.

func Hypot

func Hypot(x, y float32) float32

Hypot calls math.Hypot() on float32.

func Log1p

func Log1p(x float32) float32

Log1p calls math.Log1p() on float32.

func Logn

func Logn(x float32) float32

Logn calls math.Logn() on float32.

func MinMax

func MinMax(v, min, max int) int

MinMax limits the value between a min and a max

func MinMax32

func MinMax32(v, min, max int32) int32

MinMax32 limits the value between a min and a max

func RoundF

func RoundF(x float32) float32

RoundF is calls Ceil() with a 0.5 offset.

func Sin

func Sin(x float32) float32

Sin calls math.Sin() on float32.

Types

This section is empty.

Jump to

Keyboard shortcuts

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