Menu
Why do Java developers wear glasses? Because they don't C#!
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Fixed-point Memes
Posts tagged with Fixed-point
Stop Using Floats
Math
Javascript
Programming
Debugging
C++
1 year ago
627.5K views
0 shares
The floating-point rebellion we never knew we needed! This is basically every numerical computation specialist screaming into the void about IEEE 754's dark secrets. That beautiful moment when 0.1 + 0.2 != 0.3 and your financial calculations are suddenly off by millions. The binary representation at the bottom is the computer's way of saying "I'm doing my best with the bits you gave me!" And that ternary operator nightmare at the end? Pure assembly-level wizardry that makes checking if a float is valid look like someone had a seizure on the keyboard. No wonder embedded systems developers have trust issues. Meanwhile, integer purists sit in the corner smugly whispering "I told you so" while clutching their fixed-point implementations.
Today's picks
Where's The Love
Programming
149.4M views
9 days ago
KAIWEETS Soft Silicone Electrician Test Leads Kit CAT III 1000V & CAT IV 600V with Alligator Clips and Needle Probe for Fluke/AstroAI/INNOVA Multimeter Electronic Clamp Meter 9PCS
Affiliate
$15.99
NordVPN
Sponsored
VPN