Talk:Binary-coded decimal
![]() | This article has not yet been rated on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||||||
Please add the quality rating to the {{WikiProject banner shell}} template instead of this project banner. See WP:PIQA for details.
Please add the quality rating to the {{WikiProject banner shell}} template instead of this project banner. See WP:PIQA for details.
|
![]() Archives (Index) |
This page is archived by ClueBot III.
|
Copy edit
This is a great article. Will need additional editing by subject matter experts. It would be good to see this on our project's Request page for further improvements. Thank you. — BroVic (talk) 18:31, 18 May 2020 (UTC)
clock
I have a commercially produced clock that displays BCD time in the manner shown in the diagram, with six vertical BCD digits. It also has the ability, given the same LED arrangement, to give binary hours, minutes, and seconds horizontally. Interesting how, given that arrangement, 5 bits are available for hours (24 hour mode), and six each for minutes and seconds. I got mine used, so I don't know where they come from. Gah4 (talk) 16:59, 1 June 2020 (UTC)
implemented in all IBM mainframe hardware since then
The article says: implemented in all IBM mainframe hardware since then. For low-end S/360 models, decimal was optional. (As was floating point. Presumably one would get one or the other.) Also, the 360/91 doesn't have the decimal instructions, with the OS doing software emulation. (It has CVB and CVD, which are used in the emulation.) Gah4 (talk) 11:39, 6 August 2020 (UTC)
Rounding
The "Advantages" section says:
- Addition and subtraction in decimal do not require rounding.
I am not sure what this is supposed to mean. If you're adding or subtracting two fixed-point numbers of the same precision, no rounding is required in any base. Though of course there's the possibility of overflow. If on the other hand you're adding or subtracting two floating-point numbers of the same precision, you need to round. For example, 2.3e0 + 5.1e-2 in decimal floating point should yield the rounded result 2.4e0. I will tag this point with dubious to encourage discussion. --Macrakis (talk) 19:02, 7 November 2021 (UTC)