From d27f5513775730b3e8581fe06400c6122161a19a Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Mon, 16 Apr 2001 17:06:05 +0000 Subject: Blah --- lib/alu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/alu.c') 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); } -- cgit v1.2.3