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