f32

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(v float32) float32

Abs returns an absolute value of the argument

func Cast

func Cast(v interface{}) float32

Cast returns a float32 from any numeric value or returns NaN otherwise

func Ceil

func Ceil(v float32) float32

Ceil returns whole number value rounded up

func Floor

func Floor(v float32) float32

Floor returns whole number value rounded down

func IsNaN

func IsNaN(f float32) bool

IsNaN returns true if value is NaN

func Join

func Join(values []float32, sep string) string

Join returns a series of values separated with a string

func Max

func Max(v ...float32) float32

Max returns maximum value of arguments

func Min

func Min(v ...float32) float32

Min returns minimum value of arguments

func NaN

func NaN() float32

NaN return a NaN value

func Sqrt

func Sqrt(v float32) float32

Sqrt returns square root

func String

func String(values ...float32) string

String returns values delimited by commas as a string

Types

This section is empty.

Jump to

Keyboard shortcuts

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