Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
d2bfe54b0a9f28c021d4f0790bdb5224d5579447
/
.
/
test
/
FrontendC
/
2005-04-09-ComplexOps.c
blob: 2962b74553447d153e65c7aa1449df945f9909a2 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -o -
#include
<math.h>
#define
I
1.0iF
double
__complex test
(
double
X
)
{
return
~-(
X
*
I
);
}
_Bool
EQ
(
double
__complex A
,
double
__complex B
)
{
return
A
==
B
;
}
_Bool
NE
(
double
__complex A
,
double
__complex B
)
{
return
A
!=
B
;
}