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
PR libstdc++/10689
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
testsuite
/
26_numerics
/
complex
/
pow.C
1
// PR libbstdc++/10689
2
// Origin: Daniel.Levine@jhuaph.edu
3
4
#include <complex>
5
#include <testsuite_hooks.h>
6
7
int main()
8
{
9
std::complex<double> z(0, 1) ;
10
11
VERIFY(pow(z, 1.0/3.0) == 0.0);
12
13
return 0;
14
}