Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: PowerPC Numerics / Part 2 - The PowerPC Numerics C Implementation
Chapter 10 - Transcendental Functions


Logarithmic Functions

MathLib provides seven logarithmic functions:
frexp(x,exp) Splits x into fraction and exponent fields.
log(x) Base e or natural logarithm.
log10(x) Base 10 logarithm.
log1p(x) Computes log(1+x) .
log2(x) Base 2 logarithm.
logb(x) Returns exponent part of x.
modf(x,iptr) Splits x into an integer and a fraction.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996