diff options
author | Pixel <> | 2001-04-16 17:06:05 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-16 17:06:05 +0000 |
commit | d27f5513775730b3e8581fe06400c6122161a19a (patch) | |
tree | af48b4b3966a204f38118ad9a1142579b9eeca44 /lib/alu.c | |
parent | 06c7f715e1a31dd71a54f21705c4a28ec78a3652 (diff) |
Blah
Diffstat (limited to 'lib/alu.c')
-rw-r--r-- | lib/alu.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |