Floating point order micro-optimization
When refactoring a particular piece of C code that converted radians to degrees, there was an interesting suggestion to swap the order of the operations in the function to increase its performance. It’s actually a curious case, consider;