The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Declaration:function ld (x: double): double;

The function ld calculates the base 2 logarithm of x. Both the argument and the result are of the type double.

Example: The statement write(ld(a)); displays the base 2 logarithm of a.

Last Update: 2012-Okt-20