diff options
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); } |