> On Mar 12, 2022, at 2:02 PM, Rob Pike <r@golang.org> wrote: > > Indeed. Be careful about the code Numerical Recipes if you are doing > important numerical work. > For simple stuff it's fine, of course, but floating point is a > minefield that requires expert navigation. > > -rob That's the seductive trap of floating-point numbers, isn't it? They invite us to think about them as if they were the real numbers, but they are very, very much *not* the real numbers. And yet, most of the time, for most applications, if you treat them as if they were, you get plausible results. Adam