math-class-max ( class1 class2 -- class ) - Factor Documentation

math-class-max ( class1 class2 -- class )


Vocabulary
generic .math

Inputs
class1 a class
class2 a class


Outputs
class a class


Word description
Evaluates which math class is the largest.

Examples
USING: generic.math math kernel prettyprint ; integer float math-class-max .
float


Definition
USING: generic.math.private kernel math.order ;

IN: generic.math

: math-class-max ( class1 class2 -- class )
[ [ math-precedence ] bi@ after? ] most ;

AltStyle によって変換されたページ (->オリジナル) /