Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
ieee
/
920810-1.c
blob: 62d22940adc54ea6b485eda4682d17a4256754f0 [
file
] [
log
] [
blame
]
#include
<stdio.h>
double
normalize
(
x
)
double
x
;{
if
(
x
==
0
)
x
=
0
;
return
x
;}
main
(){
char
b
[
9
];
sprintf
(
b
,
"%g"
,
normalize
(-
0.0
));
if
(
strcmp
(
b
,
"0"
))
abort
();
exit
(
0
);}