Is Po-Shen Loh's new Formula Faster than the OG Quadratic?
🕑 Added 2022-08-31 07:47:53 +0000 UTCWhew, this one was fun! I learned about an interesting method for finding the roots for quadratic equations about a year ago, discovered by a mathematics teacher called Po-Shen Loh. And I had one burning question! Is it faster than the quadratic formula??
Well, there's only one way to find out! I ran them through a bunch of grueling tests to see just how well they perform!
I've got an e-book coming for this video, and the source code for the testing program too, as Patreon exclusive content.
Thank you all for the support, I hope this is as fun to watch as it was to make :)
Comments
What's a Creel?
Oh that's a great idea, would love to see what Clang makes of it! Cheers for watching mate :)
Joseph Milsome
Cheers mate, great vid. Would be really interesting to drop the code into godbolt and have a look at how the different compilers and settings handle those discriminants and branches.