solar.c
static inline double
sun_geometric_mean_longitude(double tm)
{
	double rc = fmod(pow(0.0003032 * tm, 2.0) + 36000.76983 * tm + 280.46646, 360.0);
#if defined(TIMETRAVELLER)
	rc = rc < 0.0 ? (rc + 360.0) : rc;
#endif
	return radians(rc);
}
/**
 * Calculates the Sun's geometric mean longitude
 * 
 * @param   tm  The time in Julian Centuries
 * @return      The Sun's geometric mean longitude in radians
 */
Calculates the Sun's geometric mean longitude

@param   tm  The time in Julian Centuries
@return      The Sun's geometric mean longitude in radians
Calculates the Sun ' s geometric mean longitude @param tm The time in Julian Centuries @return The Sun ' s geometric mean longitude in radians
static inline double
sun_geometric_mean_longitude(double tm)
{
	double rc = fmod(pow(0.0003032 * tm, 2.0) + 36000.76983 * tm + 280.46646, 360.0);
#if defined(TIMETRAVELLER)
	rc = rc < 0.0 ? (rc + 360.0) : rc;
#endif
	return radians(rc);
}
static inline double sun_geometric_mean_longitude ( double tm ) { double rc = fmod ( pow ( 0.0003032 * tm , 2.0 ) + 36000.76983 * tm + 280.46646 , 360.0 ) ; #if defined ( TIMETRAVELLER ) rc = rc < 0.0 ? ( rc + 360.0 ) : rc ; #endif return radians ( rc ) ; }
Calculates the Sun's geometric mean longitude
Calculates the Sun ' s geometric mean longitude