repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
libstdc++-v3
/
testsuite
/
26_numerics
/
cmath
/
overloads.cc
blob
4d41a9640b474c19dd77a056ff281ce374476b0f
1
// PR 3181
2
// Origin: pete@toyon.com
3
4
#include <cmath>
5
6
int
main
()
7
{
8
int
i
= -
1
;
9
int
j
=
9
;
10
double
ans
;
11
ans
=
std
::
acos
(
i
);
12
ans
=
std
::
asin
(
i
);
13
ans
=
std
::
atan
(
i
);
14
ans
=
std
::
atan2
(
i
,
j
);
15
ans
=
std
::
cos
(
i
);
16
ans
=
std
::
cosh
(
i
);
17
ans
=
std
::
exp
(
i
);
18
ans
=
std
::
fabs
(
i
);
19
ans
=
std
::
floor
(
i
);
20
ans
=
std
::
log
(
i
);
21
ans
=
std
::
log10
(
i
);
22
ans
=
std
::
sqrt
(
i
);
23
ans
=
std
::
sin
(
i
);
24
ans
=
std
::
sinh
(
j
);
25
ans
=
std
::
tan
(
i
);
26
ans
=
std
::
tanh
(
i
);
27
}