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 / i386 / math / atan.S < prev    next >
Encoding:
Text File  |  1994-08-26  |  811 b   |  37 lines

  1. /* Copyright (C) 1993  Hongjiu Lu
  2. This file is part of the Linux C Library.
  3.  
  4. The Linux C Library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Library General Public License as
  6. published by the Free Software Foundation; either version 2 of the
  7. License, or (at your option) any later version.
  8.  
  9. The Linux C Library is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12. Library General Public License for more details. */
  13.  
  14.     .file    "atan.S"
  15.     .text
  16.  
  17. #ifdef __ELF__
  18. #define _atan atan
  19. #endif
  20.  
  21.     .globl    _atan
  22.  
  23. #ifdef __i486__
  24.     .align    4,0x90
  25. #else
  26.     .align    2,0x90
  27. #endif
  28. _atan:
  29.     fldl    4(%esp)
  30.     fld1
  31.     fpatan
  32.     ret
  33.  
  34. #ifdef __ELF__
  35.     .type atan,@function
  36. #endif
  37.