#define RANT // Testing winapi IPv6 network code
ok, venting time....
This magazine is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.
ok, venting time....
r/programming
Hi! I've been thinking about this for a while. I realize it's a first-world-problem, but it still haunts me 😅...
Your language isn't broken, it's doing floating point math. Computers can only natively store integers, so they need some way of representing decimal numbers. This representation comes with some degree of inaccuracy. That's why, more often than not, .1 + .2 != .3.