diff options
author | Pixel <> | 2001-04-17 04:03:02 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-17 04:03:02 +0000 |
commit | 55f981c9fca048fba18d0538be4ed5dc1cc3fe11 (patch) | |
tree | 830ee90912ac88515a6b6bc68be033ca79b5dccf /lib/alu.c | |
parent | a19da7ded119713b955816f1de69d71eef191ab0 (diff) |
Indent large
Diffstat (limited to 'lib/alu.c')
-rw-r--r-- | lib/alu.c | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -55,8 +55,7 @@ Uint32 RAdditionSigne(long int a, long int b) tr += b; - if (((a & 0x80000000) && (b & 0x80000000) && !(tr & 0x80000000)) || - (!(a & 0x80000000) && !(b & 0x80000000) && (tr & 0x80000000))) { + if (((a & 0x80000000) && (b & 0x80000000) && !(tr & 0x80000000)) || (!(a & 0x80000000) && !(b & 0x80000000) && (tr & 0x80000000))) { SetOverflow(); } else { ResetOverflow(); @@ -518,8 +517,7 @@ Uint32 NSoustractionNonSigne(Uint32 x, Uint32 y) for (i = 0; i < 32; i++) { a = ValeurIbitsAuDeb(x, i); b = ValeurIbitsAuDeb(y, i); - if (((a == 0) && (b == 0) && (ret == 0)) || - ((a == 1) && (b == 1) && (ret == 0)) || ((a == 1) && (b == 0) && (ret == 1))) { + if (((a == 0) && (b == 0) && (ret == 0)) || ((a == 1) && (b == 1) && (ret == 0)) || ((a == 1) && (b == 0) && (ret == 1))) { ret = 0; tp = 0; tp <<= i; @@ -527,8 +525,7 @@ Uint32 NSoustractionNonSigne(Uint32 x, Uint32 y) } else { - if (((a == 0) && (b == 0) && (ret == 1)) || - ((a == 0) && (b == 1) && (ret == 0)) || ((a == 1) && (b == 1) && (ret == 1))) { + if (((a == 0) && (b == 0) && (ret == 1)) || ((a == 0) && (b == 1) && (ret == 0)) || ((a == 1) && (b == 1) && (ret == 1))) { ret = 1; tp = 1; tp <<= i; @@ -569,8 +566,7 @@ Uint32 NSoustractionSigne(Uint32 x, Uint32 y) for (i = 0; i < 32; i++) { a = ValeurIbitsAuDeb(x, i); b = ValeurIbitsAuDeb(y, i); - if (((a == 0) && (b == 0) && (ret == 0)) || - ((a == 1) && (b == 1) && (ret == 0)) || ((a == 1) && (b == 0) && (ret == 1))) { + if (((a == 0) && (b == 0) && (ret == 0)) || ((a == 1) && (b == 1) && (ret == 0)) || ((a == 1) && (b == 0) && (ret == 1))) { ret = 0; tp = 0; tp <<= i; @@ -578,8 +574,7 @@ Uint32 NSoustractionSigne(Uint32 x, Uint32 y) } else { - if (((a == 0) && (b == 0) && (ret == 1)) || - ((a == 0) && (b == 1) && (ret == 0)) || ((a == 1) && (b == 1) && (ret == 1))) { + if (((a == 0) && (b == 0) && (ret == 1)) || ((a == 0) && (b == 1) && (ret == 0)) || ((a == 1) && (b == 1) && (ret == 1))) { ret = 1; tp = 1; tp <<= i; |