Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/
H A Dgeohash_helper.c57 static inline double deg_rad(double ang) { return ang * D_R; } in deg_rad() 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()
213 lat1r = deg_rad(lat1d); in geohashGetDistance()
214 lon1r = deg_rad(lon1d); in geohashGetDistance()
215 lat2r = deg_rad(lat2d); in geohashGetDistance()
216 lon2r = deg_rad(lon2d); in geohashGetDistance()