Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vxxzy
· 9y ago · 0 comments
Just a suggestion... Open up the calculator and do 0/0.
Comments
[–]
pgeorgi
9y ago
Somebody took 'undefined behavior means that your compiler may optimize out large swathes of code in favor of execve("/usr/games/nethack"); way too seriously" :-)
[–]
zumatic
9y ago
IIRC for a while the Amiga calculator would crash the OS if you did that.
[–]
nom
9y ago
now I get the urge to build a physical calculator that explodes if you try to calculate 0/0 :D
[–]
ars
9y ago
Or you can be lazy and watch this mechanical adding machine divide by zero:
https://www.youtube.com/watch?v=443B6f_4n6k
[–]
nom
9y ago
Awesome! :D
[–]
jordache
9y ago
would be great if he reproduced the 3.11-3.10 subtraction bug