Home Online Manual
Top
Back: fastExpt
Forward: PerfectPowerTest
FastBack: Teaching
FastForward: atkins_lib
Up: aksaka_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.1.2 log2

Procedure from library aksaka.lib (see aksaka_lib).

Usage:
log2(x);

Return:
logarithm to basis 2 of x

Note:
calculates the natural logarithm of x with a power-series of the ln, then the basis is changed to 2

Example:
 
LIB "aksaka.lib";
log2(1024);
==> 10