Sign in
llvm
/
llvm-archive
/
2daab64c45d5de588f673052552a44992cfe1157
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
990127-2.c
blob: 0d0f495124adfc2658d4f73c3fce1b7804887e6b [
file
] [
log
] [
blame
]
void
fpEq
(
double
x
,
double
y
)
{
if
(
x
!=
y
)
abort
();
}
void
fpTest
(
double
x
,
double
y
)
{
double
result1
=
(
35.7
*
100.0
)
/
45.0
;
double
result2
=
(
x
*
100.0
)
/
y
;
fpEq
(
result1
,
result2
);
}
main
()
{
fpTest
(
35.7
,
45.0
);
exit
(
0
);
}