OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/testsuite/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr34966.c
1
extern double sin (double), cos (double);
2
3
__inline double
4
atan (double __x)
5
{
6
register double __result;
7
#if defined(__i386__) || defined(__x86_64__)
8
__asm __volatile__ ("" : "=t" (__result) : "0" (__x));
9
#else
10
__result = __x;
11
#endif
12
return __result;
13
}
14
15
double
16
f(double x)
17
{
18
double t = atan (x);
19
return cos (t) + sin (t);
20
}
21