home *** CD-ROM | disk | FTP | other *** search
- /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * *
- * Copyright (c) 1997 MathSoft, Inc. All Rights Reserved. *
- * *
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
- /*
- * Function: log2 ( x )
- *
- * Description:
- * log2() calculates the base 2 logarithm of x
- *
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
-
- function log2 ( x )
-
- log2 = ln(x) ./ ln(2);
-
- end;
-
-