Interestingly, there haven’t been any identified bugs in Ada’s Bernoulli calculation code. Even as she pioneered programming, it seems bugs weren’t part of her invention.
The article is fascinating, but if you just want to jump to the end…
bug
one line of the algorithm has the variables swapped!
It calculates v5 / v4 instead of v4 / v5. Not bad considering there wasn’t a computer to run her code on yet, much less a debugger.
She got this close to greatness tsk tsk
This is apocryphal anyway. There is a bug in Lovelace’s algorithm.
https://twobithistory.org/2018/08/18/ada-lovelace-note-g.html
The article is fascinating, but if you just want to jump to the end…
bug
one line of the algorithm has the variables swapped! It calculates v5 / v4 instead of v4 / v5. Not bad considering there wasn’t a computer to run her code on yet, much less a debugger.
yassss
go Ada!!