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

Prev:before=? ( obj1 obj2 -- ? )
Next:max ( obj1 obj2 -- obj )


Vocabulary
math.order

Inputs
obj1an object
obj2an object


Outputs
objan object


Word description
Outputs the smallest 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
max, minimum, minimum-by, maximum, maximum-by

Definition

GENERIC: min ( obj1 obj2 -- obj )


Methods