Logo
It compiles! Ship it!
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

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++
7 months ago 457.4K views 0 shares
Stop Using Floats
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

Generic Coding Travel Mug, In Case Of Fire Git Commit Git Push Git Out, Computer Humor Gift, Birthday 14oz Portable Cup, White

Generic Coding Travel Mug, In Case Of Fire Git Commit Git Push Git Out, Computer Humor Gift, Birthday 14oz Portable Cup, White

Affiliate
$26.95
GearScouts.com

GearScouts.com

Sponsored
Power stations
Run dopamine.exe

Run dopamine.exe

Debugging
56.9K views 3 years ago