Hacker News new | ask | show | jobs
by owlbite 1533 days ago
Don't roll your own numerics.

There are normally many subtle gotchas that affect numerical stability of a method, as well as great attention to detail required to handle degenerate edge cases. And that's before we get to subtle bugs that only trigger occasionally or are otherwise hard to detect.

It's not like NAG/ISML/HSL etc don't predate NR, in some cases by several decades. Libraries were always available, though back in the day you may have needed to pay for them.

1 comments

> Don't roll your own numerics.

This is empty advice without some context. Many of us work precisely in rolling new numerics.

Like "don't roll your own crypto", the implicit caveat is clear.