Computerphile

The "Trick" that Compilers Use for Long Division

2026 • E19    May 26, 2026    15m
Long division can be arduous - division in general is something that even computer processors try to avoid with a simple technique. Matt Godbolt demos it and then shows how a simple C program can cause a compiler to employ this trick.

Where to Watch Computerphile - 2026 • E19

 

  •   
  •   
  •   
  •   
  •   
  •   
  •   

Take Plex everywhere

Watch free anytime, anywhere, on almost any device.
See the full list of supported devices