home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / TP_ADV.ZIP / LIST0412.C < prev    next >
Encoding:
C/C++ Source or Header  |  1989-07-31  |  319 b   |  14 lines

  1. /* Simple C Module that will make a call to the C RTL function */
  2. /* pow.  Note that this is just a simple exercise, but is also */
  3. /* a useless one unless you own the Turbo C RTL.               */
  4.  
  5. #include <math.h>
  6.  
  7. extern double result;
  8.  
  9. void power (double *x, double *y)
  10. {
  11.   result = pow (*x, *y);
  12. }
  13.  
  14.