I doubt that would be faster, considering it would have to cache every possible value. For this, it is conceivable. For other things (like shaft failure), I would need to cache every possible value from zero to 2.147 billion.
That's why I mentioned it, as it seemed that it might be a good idea for that particular formula. Everyone loves efficiency, right?
Completely agree its not practical in all cases, but can I ask how/why you have 2.147 billion (max int?) values for shaft failure? wut