xtd
0.2.0
Loading...
Searching...
No Matches
◆
clamp()
[7/13]
static
slong
xtd::math::clamp
(
slong
value
,
slong
min
,
slong
max
)
static
noexcept
Returns value clamped to the inclusive range of min and max.
Parameters
value
The value to be clamped.
min
The lower bound of the result.
max
The upper bound of the result.
Returns
value if min <= value <= max.
-or-
min if value < min.
>-or-
max if max < value.
xtd
math
Generated on Sat Sep 14 2024 21:25:18 for xtd by
Gammasoft
. All rights reserved.