IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 2, 2008, 8:08:31 AM (18 years ago)
Author:
eugene
Message:

replace poor code with ohana_normalize_angle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/skycalc/src/moon_interference.c

    r2496 r19823  
    771771   
    772772    *az *= DEG_IN_RADIAN;  /* done with taking trig functions of it ... */
    773     while(*az < 0.) *az += 360.;  /* force 0 -> 360 */
    774     while(*az >= 360.) *az -= 360.;
     773    *az = ohana_normalize_angle (*az);
    775774   
    776775    return(x);
Note: See TracChangeset for help on using the changeset viewer.