summaryrefslogtreecommitdiff
path: root/src/mbgl/util/math.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-06-06 16:18:46 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-06-06 23:31:51 +0300
commitb711979e328c54dbfd3240ea339a1662c7f9c808 (patch)
treefdedd9c4f9873b090f4c69ac5ab77a97ddd558c9 /src/mbgl/util/math.hpp
parentf4a82bd367cc5a2134f37dec9979a7d653ef965c (diff)
downloadqtlocation-mapboxgl-b711979e328c54dbfd3240ea339a1662c7f9c808.tar.gz
[android] #5254 - fix ARMv5 support
Backported patches fixing ARMv5 support for issue #3985.
Diffstat (limited to 'src/mbgl/util/math.hpp')
-rw-r--r--src/mbgl/util/math.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/util/math.hpp b/src/mbgl/util/math.hpp
index ef60f76ffe..bfedc2a421 100644
--- a/src/mbgl/util/math.hpp
+++ b/src/mbgl/util/math.hpp
@@ -110,5 +110,7 @@ T smoothstep(T edge0, T edge1, T x) {
// (== number of bits required to store x)
uint32_t ceil_log2(uint64_t x);
+double log2(double x);
+
} // namespace util
} // namespace mbgl