Bi-quinary coded decimal: Difference between revisions

Content deleted Content added
the two pics of the grid of biquinary codes doesn't need to be so big, and they can be combined together into a {{Multiple image}} since are related
move the japanese abacus example up, so doesn't overlap with the IBM computer example images.
Line 5:
{{Multiple image
| image1 = Code_Biquinaer.svg
| caption1 = OneBiquinary possiblecode binary representation of biquinary codeexample<ref name="Ledley_1960"/>
| image2 = Code Biquinaer reflektiert.svg
| caption2 = Reflected biquinary code
| total_width = 300200
}}
 
[[Image:Soroban.JPG|366x366px349x349px|thumb|A modern [[soroban]] (Soroban|Japanese abacus)]]. The right side of the soroban represents the{{formatnum:1234567890}} numberin 1234567890,bi-quinary: each column indicatingis one digit, with the lower beads representing "ones" and the upper beads "fives".]]
 
'''Bi-quinary coded decimal''' is a [[numeral system|numeral encoding scheme]] used in many [[abacus]]es and in some [[Early computer|early computers]], including the [[Colossus computer|Colossus]].<ref>{{cite web|url=https://www.youtube.com/watch?v=thrx3SBEpL8&list=WL&index=17&t=0s |archive-url=https://ghostarchive.org/varchive/youtube/20211212/thrx3SBEpL8| archive-date=2021-12-12 |url-status=live|title=Why Use Binary? - Computerphile |publisher=YouTube |date=2015-12-04 |access-date=2020-12-10}}{{cbignore}}</ref> The term '''''bi-quinary''''' indicates that the code comprises both a two-state (''bi'') and a five-state (''quin''ary) component. The encoding resembles that used by many abacuses, with four beads indicating the five values either from 0 through 4 or from 5 through 9 and another bead indicating which of those ranges (which can alternatively be thought of as +5).
Line 20 ⟶ 22:
 
==Examples==
 
[[Image:Soroban.JPG|366x366px|thumb|A modern [[soroban]] (Japanese abacus). The right side of the soroban represents the number 1234567890, each column indicating one digit, with the lower beads representing "ones" and the upper beads "fives".]]
 
Several different representations of bi-quinary coded decimal have been used by different machines. The two-state component is encoded as one or two [[bit]]s, and the five-state component is encoded using three to five bits. Some examples are: