N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

   

exp
expf

Format
#include <math.h>
double exp(double x); float expf(float x);


Arguments
  • x is the exponent power you want
Return Value
An exponent to the x power

What This Function Does
It calculates an exponent to the x power using this formula:
exp(x) = 1 + x + x^2/2! + x^3/3! + 
   x^4/4! + ... (-1<= x <=1)
exp(nk*log2+xx) = exp(nk * log2) *exp (xx)
      = 2^nk * exp (xx)
Note
This standard function comes with NuSystem.


Nintendo® Confidential

Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.


Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated January 1998