double.clamp – glib-2.0 Reference Manual
Packages
glib-2.0
double
DIG
DTOSTR_BUF_SIZE
EPSILON
INFINITY
MANT_DIG
MAX
MAX_10_EXP
MAX_EXP
MIN
MIN_10_EXP
MIN_EXP
NAN
max
min
parse
try_parse
abs
clamp
format
is_finite
is_infinity
is_nan
is_normal
to_str
to_string
clamp
Description:
public
double
clamp
(
double
low,
double
high)