logoalt Hacker News

Maxataryesterday at 5:37 PM2 repliesview on HN

But native decimal libraries are almost always floating point.

Do people not know what a floating point number is?


Replies

lxgryesterday at 6:44 PM

That’s alright, the important part here is that they’re decimal, not binary. You don’t want 0.1 + 0.2 to equal 0.300…004.

show 1 reply
ktimespiyesterday at 10:57 PM

Aren't decimal types BCD coded?