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


Exponential Functions

MathLib provides six exponential functions:
exp(x) The base e or natural exponential ex .
exp2(x) The base 2 exponential 2x .
expm1(x) The base e exponential minus 1.
ldexp(x,n) Returns x×2n (equivalent to scalb).
pow(x,y) Returns xy .
scalb(x,n) Returns x×2n .


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996