mathext

package
v5.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: Apache-2.0, MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max[N constraintsext.Number](x, y N) N

Max returns the larger value.

NOTE: this function does not check for difference in floats of 0/zero vs -0/negative zero using Signbit.

func Min

func Min[N constraintsext.Number](x, y N) N

Min returns the smaller value.

NOTE: this function does not check for difference in floats of 0/zero vs -0/negative zero using Signbit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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