www.pudn.com > CRGAB.zip > MATHCLUD.FUN


/* 
HEADER:		; 
TITLE:		Math functions support routines; 
VERSION:	1.0; 
 
DESCRIPTION:	This is an include file containing various routines called 
		by the functions EXP,SINX and LNX; 
 
KEYWORDS:	Math funtions, approximations; 
SYSTEM:		MSDOS; 
FILENAME:	MATHCLUD.FUN; 
WARNINGS:	None; 
 
SEE-ALSO:	EXP, SINX, LNX, XPON; 
AUTHORS:	Dr. Ronald J. Terry; 
COMPILERS:	Turbo C, also works with MS-C, Quick C, and Power C; 
*/ 
double Intpwr(double x, int y)  /* x^y y is an integer */ 
{ 
     int idx; 
     double xpdt=1; 
     for(idx=0;idx=0) ? xval : -xval)); 
}