On 2020-05-13 13:13 -0700, Jeff Newmiller wrote: > In general, any time you deal with floating > point numbers having different magnitudes, > you risk pushing some low precision bits > out of the result. Simply changing the > sequence of calculations such as a literal > polynomial evaluation versus Horner's > method can obtain different results. Take a > course in Numerical Analysis to learn > more. > > [1] https://en.m.wikipedia.org/wiki/Horner%27s_method > [2] https://en.m.wikipedia.org/wiki/Numerical_analysis
Right, it seems fairly interesting. I'll look into it at some point. /JR
signature.asc
Description: PGP signature
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.