Home
last modified time | relevance | path

Searched refs:latitude (Results 1 – 14 of 14) sorted by relevance

/dragonfly/usr.bin/calendar/
H A Dsun.c217 solar_altitude(double t, double latitude, double longitude) in solar_altitude() argument
225 double v = (sin_deg(latitude) * sin_deg(delta) + in solar_altitude()
226 cos_deg(latitude) * cos_deg(delta) * cos_deg(H)); in solar_altitude()
243 return (tan_deg(latitude) * tan_deg(delta) + in sine_offset()
244 sin_deg(alpha) / cos_deg(delta) / cos_deg(latitude)); in sine_offset()
265 double try = sine_offset(t, latitude, longitude, alpha); in approx_depression_moment()
267 sine_offset(t2, latitude, longitude, alpha) : in approx_depression_moment()
292 depression_moment(double tapprox, double latitude, double longitude, in depression_moment() argument
296 double t = approx_depression_moment(tapprox, latitude, longitude, in depression_moment()
303 return depression_moment(t, latitude, longitude, in depression_moment()
[all …]
H A Dmoon.c577 lunar_altitude(double t, double latitude, double longitude) in lunar_altitude() argument
586 double v = (sin_deg(latitude) * sin_deg(delta) + in lunar_altitude()
587 cos_deg(latitude) * cos_deg(delta) * cos_deg(H)); in lunar_altitude()
596 lunar_parallax(double t, double latitude, double longitude) in lunar_parallax() argument
598 double geo = lunar_altitude(t, latitude, longitude); in lunar_parallax()
611 lunar_altitude_topocentric(double t, double latitude, double longitude) in lunar_altitude_topocentric() argument
613 return (lunar_altitude(t, latitude, longitude) - in lunar_altitude_topocentric()
614 lunar_parallax(t, latitude, longitude)); in lunar_altitude_topocentric()
626 return (lunar_altitude_topocentric(t, loc->latitude, loc->longitude) + in lunar_altitude_observed()
726 double offset = alt / (4.0 * (90.0 - fabs(loc->latitude))); in moonrise()
[all …]
H A Dsun.h51 double solar_altitude(double t, double latitude, double longitude);
H A Dparsedata.h60 bool parse_location(const char *s, double *latitude, double *longitude,
H A Dmoon.h48 double lunar_altitude(double t, double latitude, double longitude);
H A Dbasics.c403 north = (loc->latitude >= 0); in format_location()
404 i = (int)round(fabs(loc->latitude) * 60*60); in format_location()
H A Dbasics.h57 double latitude; /* degree */ member
H A Dparsedata.c636 parse_location(const char *s, double *latitude, double *longitude, in parse_location() argument
646 *latitude = v; in parse_location()
H A Dcalendar.c233 if (!parse_location(optarg, &loc.latitude, in main()
/dragonfly/contrib/ldns/
H A Dhost2str.c713 uint32_t latitude; in ldns_rdf2buffer_str_loc() local
735 latitude = ldns_read_uint32(&ldns_rdf_data(rdf)[4]); in ldns_rdf2buffer_str_loc()
739 if (latitude > equator) { in ldns_rdf2buffer_str_loc()
741 latitude = latitude - equator; in ldns_rdf2buffer_str_loc()
744 latitude = equator - latitude; in ldns_rdf2buffer_str_loc()
746 h = latitude / (1000 * 60 * 60); in ldns_rdf2buffer_str_loc()
747 latitude = latitude % (1000 * 60 * 60); in ldns_rdf2buffer_str_loc()
748 m = latitude / (1000 * 60); in ldns_rdf2buffer_str_loc()
749 latitude = latitude % (1000 * 60); in ldns_rdf2buffer_str_loc()
750 s = (double) latitude / 1000.0; in ldns_rdf2buffer_str_loc()
H A Dstr2host.c918 uint32_t latitude = 0; in ldns_str2rdf_loc() local
982 latitude = (uint32_t) s; in ldns_str2rdf_loc()
983 latitude += 1000 * 60 * m; in ldns_str2rdf_loc()
984 latitude += 1000 * 60 * 60 * h; in ldns_str2rdf_loc()
986 latitude = equator + latitude; in ldns_str2rdf_loc()
988 latitude = equator - latitude; in ldns_str2rdf_loc()
1079 ldns_write_uint32(data + 4, latitude); in ldns_str2rdf_loc()
/dragonfly/contrib/gcc-4.7/gcc/doc/
H A Dimplement-c.texi244 GCC does not use the latitude given in C99 only to treat certain
/dragonfly/share/zoneinfo/
H A DNEWS3519 select a zone based on latitude and longitude.
/dragonfly/share/dict/
H A Dweb2104697 latitude