+ ( x y -- z )
Factor handbook > The language > Numbers > Arithmetic > Number protocol

Next:- ( x y -- z )


Vocabulary
math

Inputs and outputs
xa number
ya number
za number


Word description
Adds two numbers.
Addition of fixnums may overflow and convert the result to a bignum.
Addition of bignums always yields a bignum.
Addition of floats always yields a float.
Addition of ratios and complex numbers proceeds using the relevant mathematical rules.


Definition


Methods