This is pow.c in view mode; [Download] [Up]
double pow(x,y)
double x,y;
{
/*
Forget problems with pow(0,0)
*/
if ( x == 0. ) return(0.);
if ( y == 0. ) return(1.);
return(exp(y*log(x)));
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.