projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
752199f
)
Fix an assert to allow rounding mode 0.
author
Gabe Black
<gblack@eecs.umich.edu>
Thu, 14 Jun 2007 13:53:27 +0000
(13:53 +0000)
committer
Gabe Black
<gblack@eecs.umich.edu>
Thu, 14 Jun 2007 13:53:27 +0000
(13:53 +0000)
--HG--
extra : convert_revision :
119cc87ccf939d3a0048d87d18e125deca378bb7
src/base/fenv.c
patch
|
blob
|
history
diff --git
a/src/base/fenv.c
b/src/base/fenv.c
index 269913a601d3ee18c9b51290e424d223a77c0629..2ec2f796fe58d64be7a40d91f863aa3403991cb0 100644
(file)
--- a/
src/base/fenv.c
+++ b/
src/base/fenv.c
@@
-39,7
+39,7
@@
static const int m5_round_ops[] = {FE_DOWNWARD, FE_TONEAREST, FE_TOWARDZERO, FE
void m5_fesetround(int rm)
{
- assert(rm > 0 && rm < 4);
+ assert(rm >
=
0 && rm < 4);
fesetround(m5_round_ops[rm]);
}