home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / LIBC / LIBC-4.6 / LIBC-4 / libc-linux / sysdeps / linux / m68k / math / exp.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-24  |  320 b   |  20 lines

  1. #define    FUNC    exp
  2. #define    OP    etox
  3. #include <acos.c>
  4.  
  5. double pow10(double __y)
  6. {
  7.     double __result;
  8.     __asm("ftentox%.x %1, %0" : "=f" (__result) : "f" (__y));
  9.  
  10.     return __result;
  11. }
  12.  
  13. double pow2(double __y)
  14. {
  15.     double __result;
  16.     __asm("ftwotox%.x %1, %0" : "=f" (__result) : "f" (__y));
  17.  
  18.     return __result;
  19. }
  20.