doml v0.0.4 (2022-08-21T00:57:34Z)
Dub
Repo
clamp
math
Undocumented in source. Be warned that the author may not have intended to support it.
double
clamp
(double a, double b, double val)
int
clamp
(int a, int b, int val)
int
clamp
(
int
a
,
int
b
,
int
val
)
Meta
Source
See Implementation
math
functions
abs
absEqualsOne
acos
asin
atan2
biLerp
ceil
clamp
cos
cosFromSin
degrees
doubleToLongBits
equals
exp
floatToRawIntBits
floor
fma
invsqrt
isFinite
isInfinite
lerp
longbits
math_signum
max
min
radians
random
round
roundHalfDown
roundHalfEven
roundHalfUp
roundUsing
safeAcos
safeAsin
signum
sin
sin_roquen_9
sin_roquen_arith
sin_roquen_newk
sin_theagentd_arith
sqrt
tan
toDegrees
toRadians
triLerp
variables
PI
PI2
PIHalf
PI_4
PI_INV