Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
fea1dd08044c85fb2f74b409704bb742dc817846
/
.
/
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
;
}