OpenSearch/libs/core/src
Tal Levy 5cd6f64f15
Introduce faster approximate sinh/atan math functions (#49009) (#49110)
This commit introduces a new class called ESSloppyMath
that is meant to reflect the purpose of Lucene's SloppyMath,
but add additional unimplemented faster alternatives to math functions.

The two that are used by geotile-grid a lot are sinh/atan.

In a quick elasticsearch rally benchmark for geotile-grid on Switzerland
data points, this shows a (1.22x) 22% speed-up over using Math's functions.

closes #41166.
2019-11-14 14:15:34 -08:00
..
main Introduce faster approximate sinh/atan math functions (#49009) (#49110) 2019-11-14 14:15:34 -08:00
test Introduce faster approximate sinh/atan math functions (#49009) (#49110) 2019-11-14 14:15:34 -08:00