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
/cp
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
complex_literals.h
blob
ea328e39ecf459a9ce83ee365a5b1f6cc650e645
1
2
#include <complex>
3
4
#pragma GCC system_header
5
6
std
::
complex
<
float
>
7
operator
""
if
(
long double
ximag
)
8
{
return
std
::
complex
<
float
>(
0.0
F
,
static_cast
<
float
>(
ximag
)); }
9
10
std
::
complex
<
float
>
11
operator
""
if
(
unsigned long long
nimag
)
12
{
return
std
::
complex
<
float
>(
0.0
F
,
static_cast
<
float
>(
nimag
)); }