use 0 instead of NULL for null pointer constants
[musl] / src / math / i386 / atan2.s
1 .global atan2
2 .type atan2,@function
3 atan2:
4         fldl 4(%esp)
5         fldl 12(%esp)
6         fpatan
7         fstl 4(%esp)
8         mov 8(%esp),%eax
9         add %eax,%eax
10         cmp $0x00200000,%eax
11         jae 1f
12                 # subnormal x, return x with underflow
13         fnstsw %ax
14         and $16,%ax
15         jnz 1f
16         fsts 4(%esp)
17 1:      ret