repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
libstdc++-v3
/
testsuite
/
26_numerics
/
complex
/
pow.C
blob
c3f8479828dcc6d40d225e967ff0d843e9d4efe7
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
}