summaryrefslogtreecommitdiff
path: root/src/mbgl/util/math.hpp
diff options
context:
space:
mode:
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