repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
ieee
/
920810-1.c
blob
62d22940adc54ea6b485eda4682d17a4256754f0
1
#include <stdio.h>
2
double
normalize
(
x
)
double
x
;{
if
(
x
==
0
)
x
=
0
;
return
x
;}
3
main
(){
char
b
[
9
];
sprintf
(
b
,
"%g"
,
normalize
(-
0.0
));
if
(
strcmp
(
b
,
"0"
))
abort
();
exit
(
0
);}