# Functions
BesselianYearToJDE returns the Julian ephemeris day for a Besselian year.
Cmp compares two float64s and returns -1, 0, or 1 if a is <, ==, or > b, respectively.
FloorDiv returns the integer floor of the fractional value (x / y).
FloorDiv64 returns the integer floor of the fractional value (x / y).
Hav implements the haversine trigonometric function.
Horner evaluates a polynomal with coefficients c at x.
Illuminated returns the illuminated fraction of a body's disk.
J2000Century returns the number of Julian centuries since J2000.
JDEToBesselianYear returns the Besselian year for a Julian ephemeris day.
JDEToJulianYear returns a Julian year for a Julian ephemeris day.
JulianYearToJDE returns the Julian ephemeris day for a Julian year.
LightTime returns time for light to travel a given distance.
Limb returns the position angle of the midpoint of an illuminated limb.
# Constants
AU is one astronomical unit in km.
Julian days of common epochs.
Julian days of common epochs.
days.
SOblJ2000, COblJ2000 are sine and cosine of obliquity at J2000.
Julian days of common epochs.
J2000 is the Julian date corresponding to January 1.5, year 2000.
JMod is the Julian date of the modified Julian date epoch.
days.
days.
K is the Gaussian gravitational constant.
SOblJ2000, COblJ2000 are sine and cosine of obliquity at J2000.