# to the nth power

Doug Gwyn gwyn at smoke.brl.mil
Wed Nov 7 21:47:30 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.

Because the designers of C decided that it was better to leave such a
potentially expensive operation out of the language repertoire and instead
relegate it to a math library function, pow().



More information about the Comp.lang.c mailing list