2020-10-30 15:12:15 +00:00
|
|
|
<test>
|
2022-05-25 12:22:22 +00:00
|
|
|
<substitutions>
|
|
|
|
<substitution>
|
|
|
|
<name>func</name>
|
|
|
|
<values>
|
|
|
|
<value>greatCircleDistance</value>
|
|
|
|
<value>greatCircleAngle</value>
|
|
|
|
<value>geoDistance</value>
|
|
|
|
</values>
|
|
|
|
</substitution>
|
|
|
|
</substitutions>
|
|
|
|
|
2019-10-14 10:13:32 +00:00
|
|
|
<!-- lon [-180; 180], lat [-90; 90] -->
|
2022-05-25 12:22:22 +00:00
|
|
|
<query>SELECT count() FROM numbers(10000000) WHERE NOT ignore({func}((rand(1) % 360) * 1. - 180, (number % 150) * 1.2 - 90, (number % 360) + toFloat64(rand(2)) / 4294967296 - 180, (rand(3) % 180) * 1. - 90))</query>
|
2019-10-14 10:13:32 +00:00
|
|
|
<!-- 55.755830, 37.617780 is center of Moscow -->
|
2022-05-25 12:22:22 +00:00
|
|
|
<query>SELECT count() FROM zeros(100000000) WHERE NOT ignore({func}(55. + toFloat64(rand(1)) / 4294967296, 37. + toFloat64(rand(2)) / 4294967296, 55. + toFloat64(rand(3)) / 4294967296, 37. + toFloat64(rand(4)) / 4294967296))</query>
|
2019-10-14 10:13:32 +00:00
|
|
|
</test>
|
|
|
|
|