‹ BackHN Continuity

Thread

Adding Floating-Point Decimals for Fun and Profit

62 points · 35 comments · ibobev

  1. dublin · · focus · HN ↗
    It's the 21st century: All computers should do Base10 math by default. We have cycles to burn, and some ARM and IBM CPUs even have decimal math instructions.

    Only true propellerheaded programmers should ever see or care about binary floating point issues. NB: I do massively scalable wireless data collection networks for IoT (using variously, floats, doubles, and half-precision, as called for by their use case), so I'm one of those people, but ordinary folks and users should never, ever, be impacted by binary imprecision.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.