
The trouble with `floor` and `ceil`
floor and ceil have the bad habit of producing unexpected results. They aren’t broken, but in light of floating point nasties can often result in
floor and ceil have the bad habit of producing unexpected results. They aren’t broken, but in light of floating point nasties can often result in
Floating point numbers are everywhere. It’s hard to find software that doesn’t use any. For something so essential to writing software you’d think we take
A floating point demon had attacked my rendering code. Instead of drawing a nice straight line I’d get a devil’s tail flurried with barbs. It
Signup to my mailing list to get notified of each article I publish.
Made with Elementor. Hosted with SiteGround. Domain from Netim.