Advertisement
Guest User

Untitled

a guest
Jun 8th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1.  
  2. float res = 0.0F;
  3. asm ( "fld %%st\n\t"
  4. "fmul %%st(0)\n\t" /* x^2 */
  5. "fld1\n\t"
  6. "fsubp\n\t" /* 1 - x^2 */
  7. "fsqrt\n\t" /* sqrt (1 - x^2) */
  8. "fpatan"
  9. : "=t" (res) : "0" (x) : "st(1)");
  10. return res;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement