| 520 | // ahead or behind the first one in a circular zodiac. |
| 521 | |
| 522 | real MinDifference(real deg1, real deg2) |
| 523 | { |
| 524 | real r; |
| 525 | |
| 526 | r = deg2 - deg1; |
| 527 | if (RAbs(r) < rDegHalf) |
| 528 | return r; |
| 529 | return r >= 0 ? r - rDegMax : r + rDegMax; |
| 530 | } |
| 531 | |
| 532 | |
| 533 | // Return the degree of the midpoint between two zodiac positions, making sure |
no outgoing calls
no test coverage detected