Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
a0b47bec
Commit
a0b47bec
authored
Oct 06, 2008
by
Andreas Zwinkau
Browse files
Adding a smaller variant of fehler044
[r22546]
parent
8964dc61
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/test/fehler044b.c
0 → 100644
View file @
a0b47bec
#define IM 2147483648u
unsigned
int
current_random2
=
4247132568
;
int
imax2
=
403
;
int
main
()
{
int
ival2
=
current_random2
&
(
IM
-
1
);
double
intermediate
=
((
float
)
ival2
*
(
float
)(
imax2
+
0
.
999
));
printf
(
"%3.15e => %u
\n
"
,
intermediate
,
(
unsigned
int
)
intermediate
);
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment