max

xod/math/max

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

Tabular tests

IN1IN2OUT
0.10.010.1
-0.50.50.5
50023002300
-20-1-1
Inf100Inf
-Inf100100
// when any of inputs is NaN — return NaN
NaN1NaN
1NaNNaN
NaNInfNaN
InfNaNNaN
NaN-InfNaN
-InfNaNNaN