Next: , Previous: , Up: syslib numerics   [Index]


12.10.5 Numbers addition

Unsafe Operation: $add-number-number num1 num2

Add any couple of numbers and return the result.

Generic number as second operand

Unsafe Operation: $add-fixnum-number fx num

Add a fixnum with a number and return the result.

Unsafe Operation: $add-bignum-number bn num

Add a bignum with a number and return the result.

Unsafe Operation: $add-flonum-number fl num

Add a flonum with a number and return the result.

Unsafe Operation: $add-ratnum-number rt num

Add a ratnum with a number and return the result.

Unsafe Operation: $add-compnum-number cn num

Add a compnum with a number and return the result.

Unsafe Operation: $add-cflonum-number cfl num

Add a cflonum with a number and return the result.

Generic number as first operand

Unsafe Operation: $add-number-fixnum num fx

Add any number with a fixnum and return the result.

Unsafe Operation: $add-number-bignum num bn

Add any number with a bignum and return the result.

Unsafe Operation: $add-number-flonum num fl

Add any number with a flonum and return the result.

Unsafe Operation: $add-number-ratnum num rt

Add any number with a ratnum and return the result.

Unsafe Operation: $add-number-compnum num cn

Add any number with a compnum and return the result.

Unsafe Operation: $add-number-cflonum num cfl

Add any number with a cflonum and return the result.

Fixnum as first operand

Unsafe Operation: $add-fixnum-fixnum fx1 fx2

Add a fixnum with a fixnum and return the result as a fixnum or bignum.

Unsafe Operation: $add-fixnum-bignum fx bn

Add a fixnum with a bignum and return the result as a fixnum or bignum.

Unsafe Operation: $add-fixnum-flonum fx fl

Add a fixnum with a flonum and return the result as a flonum.

Unsafe Operation: $add-fixnum-ratnum fx rt

Add a fixnum with a ratnum and return the result as a ratnum.

Unsafe Operation: $add-fixnum-compnum fx cn

Add a fixnum with a compnum and return the result as a compnum.

Unsafe Operation: $add-fixnum-cflonum fx cfl

Add a fixnum with a cflonum and return the result as a cflonum.

Bignum as first operand

Unsafe Operation: $add-bignum-fixnum bn fx

Add a bignum with a fixnum and return the result as a fixnum or bignum.

Unsafe Operation: $add-bignum-bignum bn1 bn2

Add a bignum with a bignum and return the result as a fixnum or bignum.

Unsafe Operation: $add-bignum-flonum bn fl

Add a bignum with a flonum and return the result as a flonum.

Unsafe Operation: $add-bignum-ratnum bn rt

Add a bignum with a ratnum and return the result as a ratnum.

Unsafe Operation: $add-bignum-compnum bn cn

Add a bignum with a compnum and return the result as a compnum.

Unsafe Operation: $add-bignum-cflonum bn cfl

Add a bignum with a cflonum and return the result as a cflonum.

Flonum as first operand

Unsafe Operation: $add-flonum-fixnum fl fx

Add a flonum with a fixnum and return the result as a flonum.

Unsafe Operation: $add-flonum-bignum fl bn

Add a flonum with a bignum and return the result as a flonum.

Unsafe Operation: $add-flonum-flonum fl1 fl2

Add a flonum with a flonum and return the result as a flonum.

Unsafe Operation: $add-flonum-ratnum fl rt

Add a flonum with a ratnum and return the result as a flonum.

Unsafe Operation: $add-flonum-compnum fl cn

Add a flonum with a compnum and return the result as a compnum or cflonum.

Unsafe Operation: $add-flonum-cflonum fl cfl

Add a flonum with a cflonum and return the result as a cflonum.

Ratnum as first operand

Unsafe Operation: $add-ratnum-fixnum rt fx

Add a ratnum with a fixnum and return the result as a ratnum.

Unsafe Operation: $add-ratnum-bignum rt bn

Add a ratnum with a ratnum and return the result as a ratnum.

Unsafe Operation: $add-ratnum-flonum rt fl

Add a ratnum with a flonum and return the result as a flonum.

Unsafe Operation: $add-ratnum-ratnum rt1 rt2

Add a ratnum with a ratnum and return the result as a fixnum, bignum or ratnum.

Unsafe Operation: $add-ratnum-compnum rt cn

Add a ratnum with a compnum and return the result as a compnum.

Unsafe Operation: $add-ratnum-cflonum rt cfl

Add a ratnum with a cflonum and return the result as a cflonum.

Compnum as first operand

Unsafe Operation: $add-compnum-fixnum cn fx

Add a compnum with a fixnum and return the result as a compnum.

Unsafe Operation: $add-compnum-bignum cn bn

Add a compnum with a bignum and return the result as a compnum.

Unsafe Operation: $add-compnum-ratnum cn rt

Add a compnum with a ratnum and return the result as a compnum.

Unsafe Operation: $add-compnum-compnum cn1 cn2

Add a compnum with a compnum and return the result as a number (not necessarily a compnum).

Unsafe Operation: $add-compnum-flonum cn fl

Add a compnum with a flonum and return the result as a compnum or cflonum.

Unsafe Operation: $add-compnum-cflonum cn cfl

Add a compnum with a cflonum and return the result as a cflonum.

Cflonum as first operand

Unsafe Operation: $add-cflonum-fixnum cfl fx

Add a cflonum with a fixnum and return the result as a cflonum.

Unsafe Operation: $add-cflonum-bignum cfl bn

Add a cflonum with a bignum and return the result as a cflonum.

Unsafe Operation: $add-cflonum-ratnum cfl rt

Add a cflonum with a ratnum and return the result as a cflonum.

Unsafe Operation: $add-cflonum-flonum cfl fl

Add a cflonum with a flonum and return the result as a cflonum.

Unsafe Operation: $add-cflonum-compnum cfl cn

Add a cflonum with a compnum and return the result as a cflonum.

Unsafe Operation: $add-cflonum-cflonum cfl1 cfl2

Add a cflonum with a cflonum and return the result as a cflonum.


Next: , Previous: , Up: syslib numerics   [Index]