Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Remind me again

Name: Anonymous 2016-11-04 17:39

Why is floating point arithmetic better than BCD arithmetic? The latter can be implemented in hardware just fine and is perfectly accurate.

Name: Anonymous 2016-11-04 19:00

>>1
computers are based on bits, idiot

Name: Anonymous 2016-11-04 19:01

seriously what the fuck happened here with all these new retards? is this place #1 on r/programming or something?

Name: Anonymous 2016-11-04 19:06

BCD and normal binary are both integer representations; either can be used for floating point (which is just a special type composed of two integers - a number and an exponent). But BCD is inefficient - since everything is based on bits, a BCD digit needs 4 bits (16 possibiities), with 6 possibilities wasted - and you need more bytes to store a BCD value than you would if it was plain binary.

Name: Anonymous 2016-11-04 20:45

>>1
The latter can be implemented in hardware
so can floating point arithmetic

Name: Anonymous 2016-11-04 22:50

>>1
What's the one have to do with the other?

Name: Anonymous 2016-11-04 23:04

Check wm

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List