Rev 4973 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4973 | Rev 5098 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | NaN: |
4 | NaN: |
5 | .long 0x00000000, 0xFFF80000 |
5 | .long 0x00000000, 0xFFF80000 |
Line 6... | Line 6... | ||
6 | 6 | ||
Line 7... | Line 7... | ||
7 | MK_C_SYM(sincos) |
7 | MK_C_SYM(sincos) |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 9... | Line 9... | ||
9 | /* void sincos(double *cosine, double *sine, double x); */ |
9 | /* void sincos(double x, double *sine, double *cosine); */ |
10 | 10 | ||
Line 11... | Line 11... | ||
11 | movl 16(%esp), %ecx |
11 | movl 8(%esp), %ecx |
12 | 12 | ||
13 | movl 4(%esp), %eax /* Point to cosine. */ |
13 | movl 16(%esp), %eax /* Point to cosine. */ |
Line 14... | Line 14... | ||
14 | movl 8(%esp), %edx /* Point to sine. */ |
14 | movl 12(%esp), %edx /* Point to sine. */ |
15 | 15 | ||
16 | andl $0x7FF00000, %ecx /* Examine exponent of x. */ |
16 | andl $0x7FF00000, %ecx /* Examine exponent of x. */ |
17 | cmpl $0x43E00000, %ecx /* |x| >= 2^63 */ |
17 | cmpl $0x43E00000, %ecx /* |x| >= 2^63 */ |
18 | jae bigarg |
18 | jae bigarg |