max ( obj1 obj2 -- obj )
Factor handbook » The language » Objects » Linear order protocol

Prev:min ( obj1 obj2 -- obj )
Next:clamp ( x min max -- y )


Vocabulary
math.order

Inputs
obj1an object
obj2an object


Outputs
objan object


Word description
Outputs the greatest of two ordered values.

Notes
If one value is a floating point positive zero and the other is a negative zero, the result is undefined.

See also
min, minimum, minimum-by, maximum, maximum-by

Definition

GENERIC: max ( obj1 obj2 -- obj )


Methods