package
Version:
v0.5.0
Opens a new window with list of versions in this module.
Published: Dec 26, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Clamp[N Numeric](lower, upper N) func(N) N
Clamp returns a function which ensures that the input value is within the specified range.
SameSign returns true if a and b have the same sign.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.