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


12.10.28 Logarithms of numbers

Unsafe Operation: $log-fixnum fx

Compute the natural logarithm of fx; return a fixnum, flonum or cflonum.

Unsafe Operation: $log-bignum bn

Compute the natural logarithm of fl; return an inexact number object.

Unsafe Operation: $log-flonum fl

Compute the natural logarithm of fl; return a flonum or cflonum. This function computes the result also when fl is a negative flonum, whose logarithm is a complex number; this makes it different from $fllog.

Unsafe Operation: $log-ratnum rt

Compute the natural logarithm of rt; return an inexact number object.

Unsafe Operation: $log-compnum cn

Compute the natural logarithm of cn; return an inexact number object.

Unsafe Operation: $log-cflonum cfl

Compute the natural logarithm of cfl; return a cflonum.