Calculate the midpoint between two longitudes.
First ecliptic longitude in degrees
Second ecliptic longitude in degrees
Midpoint longitude in degrees (0-360)
Takes the midpoint of the shorter arc. Handles 0°/360° boundary correctly.
midpoint(0, 90) // 45midpoint(350, 10) // 0 (midpoint of 20° arc crossing 0°)midpoint(90, 270) // 180 or 0 (either midpoint is valid for opposition) Copy
midpoint(0, 90) // 45midpoint(350, 10) // 0 (midpoint of 20° arc crossing 0°)midpoint(90, 270) // 180 or 0 (either midpoint is valid for opposition)
Calculate the midpoint between two longitudes.