summaryrefslogtreecommitdiff
path: root/lib/alu.c
diff options
context:
space:
mode:
authorPixel <>2001-04-16 17:06:05 +0000
committerPixel <>2001-04-16 17:06:05 +0000
commitd27f5513775730b3e8581fe06400c6122161a19a (patch)
treeaf48b4b3966a204f38118ad9a1142579b9eeca44 /lib/alu.c
parent06c7f715e1a31dd71a54f21705c4a28ec78a3652 (diff)
Blah
Diffstat (limited to 'lib/alu.c')
-rw-r--r--lib/alu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/alu.c b/lib/alu.c
index 14136a0..5a2819a 100644
--- a/lib/alu.c
+++ b/lib/alu.c
@@ -42,7 +42,7 @@ Uint32 RMultiplicationNonSigne(Uint32 a, Uint32 b)
temp = a * b;
SecondResult = temp >> 32;
- return (temp & ((1 << 32) -1));
+ return (temp);
}
Uint32 RMultiplicationSigne(Uint32 a, Uint32 b)
@@ -51,7 +51,7 @@ Uint32 RMultiplicationSigne(Uint32 a, Uint32 b)
temp = a * b;
SecondResult = temp >> 32;
- return (temp & ((1 << 32) -1));
+ return (temp);
}
Uint32 RDivisionNonSigne(Uint32 a, Uint32 b)
@@ -62,7 +62,7 @@ Uint32 RDivisionNonSigne(Uint32 a, Uint32 b)
Uint32 RDivisionSigne(Uint32 a, Uint32 b)
{
- SecondResuld = a % b;
+ SecondResult = a % b;
return (a / b);
}