We can even structure the intersection test to avoid even more unnecessary work: Step 2: What if the term, r2 - b2 < 0 Clearly we need to test for this case anyway since it will generate an exception when we calculate the expression:
Step 2:
Clearly we need to test for this case anyway since it will generate an exception when we calculate the expression: