I've learnt the hard way that you should avoid:
- computing small numbers as the difference of two large numbers
- evaluating chaotic functions with imprecise inputs.
Are there any other red flags a novice should look out for?
The comments made me realize I have stumbled onto a studied field. I'd like to know:
- What are the names given to this field and its key topics
- What references are recommended.
reference-requestand ask for literature. There are whole books on problems due to numeric artifacts and I guess many useful online ressources. Collecting them in the answers could be useful for many other people as well. $\endgroup$