public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d4c7f
)
Removed unused variable
author
ceriel
<none@none>
Mon, 11 Mar 1991 14:38:28 +0000
(14:38 +0000)
committer
ceriel
<none@none>
Mon, 11 Mar 1991 14:38:28 +0000
(14:38 +0000)
modules/src/flt_arith/flt_ar2flt.c
patch
|
blob
|
history
diff --git
a/modules/src/flt_arith/flt_ar2flt.c
b/modules/src/flt_arith/flt_ar2flt.c
index
8b3c4ed
..
c1cb7b2
100644
(file)
--- a/
modules/src/flt_arith/flt_ar2flt.c
+++ b/
modules/src/flt_arith/flt_ar2flt.c
@@
-14,20
+14,17
@@
flt_arith2flt(n, e, uns)
{
/* Convert the arith "n" to a flt_arith "e".
*/
- register int i;
if (!uns && n < 0) {
e->flt_sign = 1;
n = -n;
}
else e->flt_sign = 0;
- switch(sizeof(arith)) {
- case 4:
- e->m1 = n; e->m2 = 0; break;
- default:
+ if (sizeof(arith) == 4) {
+ e->m1 = n; e->m2 = 0;
+ } else {
e->m1 = (n >> (sizeof(arith)*8 - 32)) & 0xFFFFFFFF;
e->m2 = n << 32;
- break;
}
if (n == 0) {
e->flt_exp = 0;