math

package
v0.0.0-...-940ce60 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max[T cmp.Ordered](nums ...T) T

Max 返回多个数中最大的那个

deprecated

已废弃,请直接使用 max(1, 2)

func Min

func Min[T cmp.Ordered](nums ...T) T

Min 返回多个数中最小的那个

deprecated

已废弃,请直接使用 min(1, 2)

Types

This section is empty.

Jump to

Keyboard shortcuts

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