# to the nth power

Michael J. Eager eager at ringworld.Eng.Sun.COM
Sat Nov 3 16:53:37 AEST 1990


In article <90305.005050CJH101 at psuvm.psu.edu> CJH101 at psuvm.psu.edu (Carl J. Hixon) writes:
>Why am I unable to find an opperator which
>raises a number to a power. (The fortran equivalent of x**n)  

There is no exponentiation operator.  (Real programmers use integers :-) )

Look at the pow() function.

-- Mike Eager



More information about the Comp.lang.c mailing list