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


12.10.19 Absolute value of real numbers

Unsafe Operation: $abs-fixnum fx

Compute the absolute value of a fixnum; return a fixnum or bignum.

Unsafe Operation: $abs-bignum bn

Compute the absolute value of a bignum; return a fixnum or bignum.

Unsafe Operation: $abs-flonum fl

Compute the absolute value of a flonum; return a flonum.

Unsafe Operation: $abs-ratnum

Compute the absolute value of a ratnum; return a ratnum.