/third_party/boost/boost/geometry/srs/projections/proj/ |
D | qsc.hpp | 134 static const T half_pi = detail::half_pi<T>(); in qsc_fwd_equat_face_theta() local 145 } else if (theta > fourth_pi && theta <= half_pi + fourth_pi) { in qsc_fwd_equat_face_theta() 147 theta -= half_pi; in qsc_fwd_equat_face_theta() 148 } else if (theta > half_pi + fourth_pi || theta <= -(half_pi + fourth_pi)) { in qsc_fwd_equat_face_theta() 153 theta += half_pi; in qsc_fwd_equat_face_theta() 187 static const T half_pi = detail::half_pi<T>(); in fwd() local 211 phi = half_pi - lat; in fwd() 212 if (lon >= fourth_pi && lon <= half_pi + fourth_pi) { in fwd() 214 theta = lon - half_pi; in fwd() 215 } else if (lon > half_pi + fourth_pi || lon <= -(half_pi + fourth_pi)) { in fwd() [all …]
|
D | healpix.hpp | 202 static const T half_pi = detail::half_pi<T>(); in in_image() local 208 {-3.0*fourth_pi, half_pi + epsilon}, in in_image() 209 {-half_pi, fourth_pi + epsilon}, in in_image() 210 {-fourth_pi, half_pi + epsilon}, in in_image() 212 {fourth_pi, half_pi + epsilon}, in in_image() 213 {half_pi, fourth_pi + epsilon}, in in_image() 214 {3.0*fourth_pi, half_pi + epsilon}, in in_image() 217 {3.0*fourth_pi, -half_pi - epsilon}, in in_image() 218 {half_pi, -fourth_pi - epsilon}, in in_image() 219 {fourth_pi, -half_pi - epsilon}, in in_image() [all …]
|
D | stere.hpp | 87 static const T half_pi = detail::half_pi<T>(); in ssfn_() local 90 return (tan (.5 * (half_pi + phit)) * in ssfn_() 103 static const T half_pi = detail::half_pi<T>(); in fwd() local 111 sinX = sin(X = 2. * atan(ssfn_(lp_lat, sinphi, par.e)) - half_pi); in fwd() 152 static const T half_pi = detail::half_pi<T>(); in inv() local 168 tp = tan(.5 * (half_pi + phi_l)); in inv() 171 halfpi = half_pi; in inv() 178 phi_l = half_pi - 2. * atan(tp = - rho / this->m_proj_parm.akm1); in inv() 179 halfpi = -half_pi; in inv() 213 static const T half_pi = detail::half_pi<T>(); in fwd() local [all …]
|
D | merc.hpp | 72 static const T half_pi = detail::half_pi<T>(); in fwd() local 74 if (fabs(fabs(lp_lat) - half_pi) <= epsilon10) { in fwd() 105 static const T half_pi = detail::half_pi<T>(); in fwd() local 108 if (fabs(fabs(lp_lat) - half_pi) <= epsilon10) { in fwd() 119 static const T half_pi = detail::half_pi<T>(); in inv() local 121 lp_lat = half_pi - 2. * atan(exp(-xy_y / par.k0)); in inv() 137 static const calc_t half_pi = detail::half_pi<calc_t>(); in setup_merc() local 144 if (phits >= half_pi) in setup_merc()
|
D | nocol.hpp | 68 static const T half_pi = detail::half_pi<T>(); in fwd() local 76 } else if (fabs(fabs(lp_lon) - half_pi) < epsilon) { in fwd() 78 xy_y = half_pi * sin(lp_lat); in fwd() 79 } else if (fabs(fabs(lp_lat) - half_pi) < epsilon) { in fwd() 85 tb = half_pi / lp_lon - lp_lon / half_pi; in fwd() 86 c = lp_lat / half_pi; in fwd() 94 xy_x = half_pi * ( m + (lp_lon < 0. ? -xy_x : xy_x)); in fwd() 97 xy_y = half_pi * ( n + (lp_lat < 0. ? xy_y : -xy_y )); in fwd()
|
D | gnom.hpp | 132 static const T half_pi = detail::half_pi<T>(); in inv() local 148 lp_lat = lp_lat > 0. ? half_pi : -half_pi; in inv() 157 lp_lat = lp_lat > 0. ? half_pi : -half_pi; in inv() 164 lp_lat -= half_pi; in inv() 167 lp_lat = half_pi - lp_lat; in inv() 186 static const T half_pi = detail::half_pi<T>(); in setup_gnom() local 188 if (fabs(fabs(par.phi0) - half_pi) < epsilon10) { in setup_gnom()
|
D | ortho.hpp | 87 static const T half_pi = detail::half_pi<T>(); in fwd() local 111 if (fabs(lp_lat - par.phi0) - epsilon10 > half_pi) { in fwd() 124 static const T half_pi = detail::half_pi<T>(); in inv() local 158 lp_lat = lp_lat < 0. ? -half_pi : half_pi; in inv() 164 ? (xy_x == 0. ? 0. : xy_x < 0. ? -half_pi : half_pi) in inv() 180 if (fabs(fabs(par.phi0) - geometry::math::half_pi<T>()) <= epsilon10) in setup_ortho()
|
D | bonne.hpp | 96 static const T half_pi = detail::half_pi<T>(); in inv() local 102 if ((s = fabs(lp_lat)) < half_pi) { in inv() 106 } else if (fabs(s - half_pi) <= epsilon10) in inv() 142 static const T half_pi = detail::half_pi<T>(); in inv() local 148 if (fabs(lp_lat) > half_pi) { in inv() 151 if (fabs(fabs(lp_lat) - half_pi) <= epsilon10) in inv() 168 static const T half_pi = detail::half_pi<T>(); in setup_bonne() local 182 if (fabs(proj_parm.phi1) + epsilon10 >= half_pi) in setup_bonne()
|
D | airy.hpp | 93 static const T half_pi = detail::half_pi<T>(); in fwd() local 125 if (!this->m_proj_parm.no_cut && (lp_lat - epsilon) > half_pi) in fwd() 150 static const T half_pi = detail::half_pi<T>(); in setup_airy() local 155 … beta = 0.5 * (half_pi - pj_get_param_r<T, srs::spar::lat_b>(params, "lat_b", srs::dpar::lat_b)); in setup_airy() 163 if (fabs(fabs(par.phi0) - half_pi) < epsilon) in setup_airy() 165 proj_parm.p_halfpi = -half_pi; in setup_airy() 168 proj_parm.p_halfpi = half_pi; in setup_airy()
|
D | lcc.hpp | 87 static const T half_pi = detail::half_pi<T>(); in fwd() local 91 if (fabs(fabs(lp_lat) - half_pi) < epsilon10) { in fwd() 110 static const T half_pi = detail::half_pi<T>(); in inv() local 131 … lp_lat = 2. * atan(math::pow(this->m_proj_parm.c / rho, T(1)/this->m_proj_parm.n)) - half_pi; in inv() 135 lp_lat = this->m_proj_parm.n > 0. ? half_pi : -half_pi; in inv() 151 static const T half_pi = detail::half_pi<T>(); in setup_lcc() local 199 proj_parm.rho0 *= (fabs(fabs(par.phi0) - half_pi) < epsilon10) ? T(0) : in setup_lcc() 207 proj_parm.rho0 = (fabs(fabs(par.phi0) - half_pi) < epsilon10) ? 0. : in setup_lcc()
|
D | tmerc.hpp | 98 static const T half_pi = detail::half_pi<T>(); in fwd() local 117 if( lp_lon < -half_pi || lp_lon > half_pi ) in fwd() 150 static const T half_pi = detail::half_pi<T>(); in inv() local 163 if (fabs(lp_lat) >= half_pi) { in inv() 164 lp_lat = xy_y < 0. ? -half_pi : half_pi; in inv() 205 static const T half_pi = detail::half_pi<T>(); in fwd() local 216 if( lp_lon < -half_pi || lp_lon > half_pi ) in fwd()
|
D | aea.hpp | 141 static const T half_pi = detail::half_pi<T>(); in inv() local 157 lp_lat = lp_lat < 0. ? -half_pi : half_pi; in inv() 161 lp_lat = lp_lat < 0. ? -half_pi : half_pi; in inv() 165 lp_lat = this->m_proj_parm.n > 0. ? half_pi : - half_pi; in inv() 248 static const T half_pi = detail::half_pi<T>(); in setup_leac() local 251 …rm.phi1 = pj_get_param_b<srs::spar::south>(params, "south", srs::dpar::south) ? -half_pi : half_pi; in setup_leac()
|
D | mbtfpp.hpp | 85 static const T half_pi = detail::half_pi<T>(); in inv() local 93 lp_lat = (lp_lat < 0.) ? -half_pi : half_pi; in inv() 103 lp_lat = (lp_lat < 0.) ? -half_pi : half_pi; in inv()
|
D | vandg4.hpp | 68 static const T half_pi = detail::half_pi<T>(); in fwd() local 76 … } else if (fabs(lp_lon) < tolerance || fabs(fabs(lp_lat) - half_pi) < tolerance) { in fwd() 88 if ((fabs(lp_lon) - half_pi) < 0.) dt = -dt; in fwd() 97 xy_x = half_pi * x1; in fwd() 98 xy_y = half_pi * sqrt(1. + dt * fabs(x1) - x1 * x1); in fwd()
|
D | hatano.hpp | 96 static T const half_pi = detail::half_pi<T>(); in inv() local 105 th = th > 0. ? half_pi : - half_pi; in inv() 118 lp_lat = lp_lat > 0. ? half_pi : - half_pi; in inv()
|
D | loxim.hpp | 79 static const T half_pi = detail::half_pi<T>(); in fwd() local 86 if (fabs(xy_x) < epsilon || fabs(fabs(xy_x) - half_pi) < epsilon) in fwd() 98 static const T half_pi = detail::half_pi<T>(); in inv() local 105 if (fabs(lp_lon) < epsilon || fabs(fabs(lp_lon) - half_pi) < epsilon) in inv()
|
D | mod_ster.hpp | 83 static const T half_pi = detail::half_pi<T>(); in fwd() local 91 chi = 2. * atan(tan((half_pi + lp_lat) * .5) * in fwd() 92 math::pow((T(1) - esphi) / (T(1) + esphi), par.e * T(0.5))) - half_pi; in fwd() 107 static const T half_pi = detail::half_pi<T>(); in inv() local 145 dphi = 2. * atan(tan((half_pi + chi) * .5) * in inv() 146 … math::pow((T(1) + esphi) / (T(1) - esphi), par.e * T(0.5))) - half_pi - phi; in inv() 170 static T const half_pi = detail::half_pi<T>(); in setup() local 176 chio = 2. * atan(tan((half_pi + par.phi0) * .5) * in setup() 177 math::pow((T(1) - esphi) / (T(1) + esphi), par.e * T(0.5))) - half_pi; in setup()
|
D | lsat.hpp | 106 static const T half_pi = detail::half_pi<T>(); in fwd() local 114 if (lp_lat > half_pi) in fwd() 115 lp_lat = half_pi; in fwd() 116 else if (lp_lat < -half_pi) in fwd() 117 lp_lat = -half_pi; in fwd() 120 lampp = half_pi; in fwd() 132 fac = lampp + sin(lampp) * half_pi; in fwd() 134 fac = lampp - sin(lampp) * half_pi; in fwd() 151 lampp = half_pi; in fwd() 175 static const T half_pi = detail::half_pi<T>(); in inv() local [all …]
|
D | omerc.hpp | 83 static const T half_pi = detail::half_pi<T>(); in fwd() local 87 if (fabs(fabs(lp_lat) - half_pi) > epsilon) { in fwd() 122 static const T half_pi = detail::half_pi<T>(); in inv() local 140 lp_lat = Up < 0. ? -half_pi : half_pi; in inv() 163 static const T half_pi = detail::half_pi<T>(); in setup_omerc() local 195 fabs(con - half_pi) <= tolerance || in setup_omerc() 196 fabs(fabs(par.phi0) - half_pi) <= tolerance || in setup_omerc() 197 fabs(fabs(phi2) - half_pi) <= tolerance) in setup_omerc()
|
D | laea.hpp | 95 static const T half_pi = detail::half_pi<T>(); in fwd() local 117 b = half_pi + lp_lat; in fwd() 121 b = lp_lat - half_pi; in fwd() 258 static const T half_pi = detail::half_pi<T>(); in inv() local 285 lp_lat = half_pi - lp_lat; in inv() 288 lp_lat -= half_pi; in inv() 306 static const T half_pi = detail::half_pi<T>(); in setup_laea() local 311 if (fabs(t - half_pi) < epsilon10) in setup_laea()
|
D | bacon.hpp | 77 static const T half_pi = detail::half_pi<T>(); in fwd() local 82 xy_y = this->m_proj_parm.bacn ? half_pi * sin(lp_lat) : lp_lat; in fwd() 84 if (this->m_proj_parm.ortl && ax >= half_pi) in fwd() 85 xy_x = sqrt(half_pi_sqr - lp_lat * lp_lat + epsilon) + ax - half_pi; in fwd()
|
/third_party/ffmpeg/libavfilter/ |
D | asrc_sine.c | 90 unsigned half_pi = 1 << (LOG_PERIOD - 2); in make_sin_table() local 98 sin[half_pi] = ampls; in make_sin_table() 99 for (step = half_pi; step > 1; step /= 2) { in make_sin_table() 103 for (i = 0; i < half_pi / 2; i += step) { in make_sin_table() 105 c = sin[half_pi - i] + sin[half_pi - i - step]; in make_sin_table() 115 sin[half_pi - i - step / 2] = (k * c + 0x8000) >> 16; in make_sin_table() 119 for (i = 0; i <= half_pi; i++) in make_sin_table() 122 for (i = 0; i < half_pi; i++) in make_sin_table() 123 sin[half_pi * 2 - i] = sin[i]; in make_sin_table() 124 for (i = 0; i < 2 * half_pi; i++) in make_sin_table() [all …]
|
/third_party/boost/boost/geometry/srs/projections/impl/ |
D | pj_gauss.hpp | 103 static const T half_pi = detail::half_pi<T>(); in gauss_fwd() local 106 * srat(en.e * sin(phi), en.ratexp) ) - half_pi; in gauss_fwd() 116 static const T half_pi = detail::half_pi<T>(); in gauss_inv() local 125 const T elp_phi = 2.0 * atan(num * srat(en.e * sin(phi), - 0.5 * en.e)) - half_pi; in gauss_inv()
|
/third_party/boost/boost/geometry/formulas/ |
D | meridian_segment.hpp | 57 T half_pi = math::half_pi<T>(); in meridian_not_crossing_pole() local 59 (math::equals(lat2, half_pi) && math::equals(lat1, -half_pi)); in meridian_not_crossing_pole()
|
/third_party/boost/libs/math/test/ |
D | complex_test.cpp | 275 static const T half_pi = boost::math::constants::half_pi<T>(); in check_spots() local 276 static const T quarter_pi = half_pi / 2; in check_spots() 299 check_complex(ct(half_pi), result, 2); in check_spots() 302 check_complex(ct(half_pi), result, 2); in check_spots() 305 check_complex(ct(half_pi), result, 2); in check_spots() 308 check_complex(ct(half_pi), result, 2); in check_spots() 313 BOOST_CHECK_CLOSE(result.real(), half_pi, eps*200); in check_spots() 317 BOOST_CHECK_CLOSE(result.real(), half_pi, eps*200); in check_spots() 323 BOOST_CHECK_CLOSE(result.real(), half_pi, eps*200); in check_spots() 327 BOOST_CHECK_CLOSE(result.real(), half_pi, eps*200); in check_spots() [all …]
|