Logo
Keyboard not found. Press F1 to continue.
  • 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

Egyptian-multiplication Memes

Posts tagged with Egyptian-multiplication

Egypt Binary

Algorithms Math Programming
9 months ago 459.3K views 0 shares
Egypt Binary
Ancient Egyptians apparently invented a multiplication algorithm that works by repeatedly doubling and halving numbers, then adding only the rows where the halved number is odd. So 13 × 24 becomes a series of doubles (24, 48, 96, 192) while halving 13 down (6, 3, 1), then you cross out rows with even numbers and add what's left: 24 + 96 + 192 = 312. It's basically binary multiplication disguised as ancient wisdom. The pharaoh smugly declaring "IT'S VERY SIMPLE!" while modern programmers realize they've been doing bit-shifting operations the whole time without the cool historical context. Turns out the Egyptians were doing bitwise operations before computers existed. They just didn't have Stack Overflow to copy-paste from.

Today's picks

CafePress 10 Types Of People Mug 11 oz (325 ml) Ceramic Coffee Mug

CafePress 10 Types Of People Mug 11 oz (325 ml) Ceramic Coffee Mug

Affiliate
$12.99
The Humility Singularity

The Humility Singularity

AI
434.8K views 1 year ago
When you show it that way.....

When you show it that way.....

Programming
82.5K views 4 years ago