binaryop

package
v1.56.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Atan2

func Atan2(left, right float64) float64

Atan2 returns atan2(left, right)

func Default

func Default(left, right float64) float64

Default returns left or right if left is NaN.

func Div

func Div(left, right float64) float64

Div returns left / right

func Eq

func Eq(left, right float64) bool

Eq returns true of left == right.

func Gt

func Gt(left, right float64) bool

Gt returns true of left > right

func Gte

func Gte(left, right float64) bool

Gte returns true if left >= right

func If

func If(left, right float64) float64

If returns left if right is not NaN. Otherwise NaN is returned.

func Ifnot

func Ifnot(left, right float64) float64

Ifnot returns left if right is NaN. Otherwise NaN is returned.

func Lt

func Lt(left, right float64) bool

Lt returns true if left < right

func Lte

func Lte(left, right float64) bool

Lte returns true if left <= right

func Minus

func Minus(left, right float64) float64

Minus returns left - right

func Mod

func Mod(left, right float64) float64

Mod returns mod(left, right)

func Mul

func Mul(left, right float64) float64

Mul returns left * right

func Neq

func Neq(left, right float64) bool

Neq returns true of left != right.

func Plus

func Plus(left, right float64) float64

Plus returns left + right

func Pow

func Pow(left, right float64) float64

Pow returns pow(left, right)

Types

This section is empty.

Jump to

Keyboard shortcuts

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