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


12.10.10 Cube of numbers

To compute the cube of any number just use cube; to compute the cube of a flonum use flcube or $flcube.

Unsafe Operation: $cube-fixnum fx

Compute the cube of a fixnum and return the result as fixnum or bignum.

Unsafe Operation: $cube-bignum bn

Compute the cube of a bignum and return the result as bignum.

Unsafe Operation: $cube-ratnum rt

Compute the cube of a ratnum and return the result as ratnum.

Unsafe Operation: $cube-compnum cn

Compute the cube of a compnum and return the result as compnum or cflonum.

Unsafe Operation: $cube-cflonum cfl

Compute the cube of a cflonum and return the result as cflonum.