Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!noose.ecn.purdue.edu!mentor.cc.purdue.edu!edgincd2 From: edgincd2@mentor.cc.purdue.edu (Chris Edgington *Computer Science Major*) Newsgroups: comp.lang.c Subject: Re: # to the nth power Summary: How about exp(ln) Message-ID: <15984@mentor.cc.purdue.edu> Date: 1 Nov 90 17:19:30 GMT References: <90305.005050CJH101@psuvm.psu.edu> Organization: Purdue University Lines: 11 In article <90305.005050CJH101@psuvm.psu.edu>, CJH101@psuvm.psu.edu (Carl J. Hixon) writes: > I appologize for bothering you computer wizards with such an elementary > question but, I'm floundering. Why am I unable to find an opperator which > raises a number to a power. (The fortran equivalent of x**n) Is there such I don't know if this is what you are looking for, but this is a neat little trick to take a number to a power. Answer = exp(ln(Root)*Exponent); Chris Edgington