Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
423 B

  1. /* _LPoly function */
  2. #include "xmath.h"
  3. _STD_BEGIN
  4. _CRTIMP2 long double __cdecl _LPoly(long double x,
  5. const long double *tab, int n)
  6. { /* compute polynomial */
  7. long double y;
  8. for (y = *tab; 0 <= --n; )
  9. y = y * x + *++tab;
  10. return (y);
  11. }
  12. _STD_END
  13. /*
  14. * Copyright (c) 1992-2001 by P.J. Plauger. ALL RIGHTS RESERVED.
  15. * Consult your license regarding permissions and restrictions.
  16. V3.10:0009 */