min

xod/math/min

Outputs the smallest of provided numbers
min
@/min
Outputs the smallest of provided numbers
IN1number
IN2number (variadic)
min
IN1
IN2
OUT
OUTnumber

Tabular tests

IN1IN2OUT
0.10.010.01
-0.50.5-0.5
5002300500
-20-1-20
Inf100100
-Inf100-Inf
// when any of inputs is NaN — return NaN
NaN1NaN
1NaNNaN
NaNInfNaN
InfNaNNaN
NaN-InfNaN
-InfNaNNaN