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 / asinh.S < prev    next >
Encoding:
Text File  |  1994-08-26  |  893 b   |  44 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    "asinh.S"
  15.  
  16.     .text
  17. #ifdef __ELF__
  18. #define _asinh asinh
  19. #endif
  20.  
  21.     .globl    _asinh
  22.  
  23. #ifdef    __i486__
  24.     .align    4,0x90
  25. #else
  26.     .align    2,0x90
  27. #endif
  28. _asinh:
  29.     fldl    4(%esp)
  30.  
  31.     fmull    4(%esp)
  32.     fld1
  33.     faddp    %st,%st(1)
  34.     fsqrt
  35.     faddl    4(%esp)
  36.     fldln2
  37.     fxch    %st(1)
  38.     fyl2x
  39.     ret
  40.  
  41. #ifdef __ELF__
  42.     .type asinh,@function
  43. #endif
  44.