math: x86_64 version of expl, fixed some comments in the i386 version
[musl] / src / math / i386 / fmodl.s
1 .global fmodl
2 .type fmodl,@function
3 fmodl:
4         fldt 16(%esp)
5         fldt 4(%esp)
6 1:      fprem
7         fstsw %ax
8         sahf
9         jp 1b
10         fstp %st(1)
11         ret