I've found a problem with the procedure for finding reference angles. According to the process, when you get a value between but not including 90° and 100°, you repeat the loop. But, the loop doesn't handle values between 90° and 100°. So, I have to change the step at the end that says:
if measure is greater than 90°, perform procedure again using new value of measure
into the steps that say:
if measure is greater than or equal to 100°, perform loop again using new value of measure
and then:
if measure is greater than 90°, subtract measure from 180°
The last step stays the same:
ref is measure
No comments:
Post a Comment