mathext

package
v5.31.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max deprecated

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.

Deprecated: use the new std library `max` instead.

func Min deprecated

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.

Deprecated: use the new std library `max` instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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