mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-09-20 15:53:02 +08:00
Fix markup.
This commit is contained in:
parent
d6b8dd394a
commit
477f30b0bd
@ -275,14 +275,14 @@ Légende:
|
|||||||
```
|
```
|
||||||
A = 3: 011
|
A = 3: 011
|
||||||
B = 6: 110
|
B = 6: 110
|
||||||
┌──────┬────┬────┬───────┬────────┬───────┬────────┬─────────┐
|
┌──────┬────┬────┬─────────┬──────────┬─────────┬───────────┬───────────┐
|
||||||
│ bit │ ai │ bi │ carryIn │ carryOut │ bitSum │ resultBin │ resultDec │
|
│ bit │ ai │ bi │ carryIn │ carryOut │ bitSum │ resultBin │ resultDec │
|
||||||
├──────┼────┼────┼───────┼────────┼───────┼────────┼─────────┤
|
├──────┼────┼────┼─────────┼──────────┼─────────┼───────────┼───────────┤
|
||||||
│ 0 │ 1 │ 0 │ 0 │ 0 │ 1 │ 1 │ 1 │
|
│ 0 │ 1 │ 0 │ 0 │ 0 │ 1 │ 1 │ 1 │
|
||||||
│ 1 │ 1 │ 1 │ 0 │ 1 │ 0 │ 01 │ 1 │
|
│ 1 │ 1 │ 1 │ 0 │ 1 │ 0 │ 01 │ 1 │
|
||||||
│ 2 │ 0 │ 1 │ 1 │ 1 │ 0 │ 001 │ 1 │
|
│ 2 │ 0 │ 1 │ 1 │ 1 │ 0 │ 001 │ 1 │
|
||||||
│ 3 │ 0 │ 0 │ 1 │ 0 │ 1 │ 1001 │ 9 │
|
│ 3 │ 0 │ 0 │ 1 │ 0 │ 1 │ 1001 │ 9 │
|
||||||
└──────┴────┴────┴───────┴────────┴───────┴────────┴─────────┘
|
└──────┴────┴────┴─────────┴──────────┴─────────┴───────────┴───────────┘
|
||||||
```
|
```
|
||||||
|
|
||||||
> Voir [fullAdder.js](fullAdder.js) pour plus de détails.
|
> Voir [fullAdder.js](fullAdder.js) pour plus de détails.
|
||||||
|
Loading…
Reference in New Issue
Block a user