Siddhanta Parity API Documentation - v1.3.0
    Preparing search index...
    • Normalize angle to [0, 360) range.

      [Ch. I] This function implements the revolution (Bhagana) remainder logic. In Surya-Siddhanta, after calculating the total motion of a planet (Ahargana * Daily Motion), the whole circles are discarded to find the current position (Shesha).

      Parameters

      • angleDeg: number

        Angle in degrees (any value)

      Returns number

      Normalized angle in degrees [0, 360)