Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * Written by J.T. Conklin <jtc@netbsd.org>.
  3.  * Public domain.
  4.  *
  5.  */
  6.  
  7. #include <math.h>
  8.  
  9. float
  10. atan2f (float y, float x)
  11. {
  12.   float res;
  13.   asm ("fpatan" : "=t" (res) : "u" (y), "0" (x) : "st(1)");
  14.   return res;
  15. }
  16.