Did excel not even use any math libraries? Seems kind of silly to re-create that wheel, espically when we've proven that many of our algorithms are mathematically impossible to improve, and excel is so heavily focused on math work.
[0] https://www.joelonsoftware.com/2006/06/16/my-first-billg-rev...