Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/
H A Dgeohash_helper.c58 static inline double rad_deg(double ang) { return ang / D_R; } in rad_deg() function
107 bounds[0] = longitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
108 bounds[2] = longitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
109 bounds[1] = latitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
110 bounds[3] = latitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()