aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ymath.h
diff options
context:
space:
mode:
authoresgv <esgv@yandex-team.ru>2022-02-10 16:50:24 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:24 +0300
commit555c14603bb6a3b676b9ace65d6e5a8b35a32fee (patch)
treefc3aad5265a334515cb93f346bd7addc6f9bf52a /util/generic/ymath.h
parentbeb63ece3a6872dfbe113104f524ab6fdbec0adc (diff)
downloadydb-555c14603bb6a3b676b9ace65d6e5a8b35a32fee.tar.gz
Restoring authorship annotation for <esgv@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/ymath.h')
-rw-r--r--util/generic/ymath.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/ymath.h b/util/generic/ymath.h
index 9ff9ae2abe..1534a490bc 100644
--- a/util/generic/ymath.h
+++ b/util/generic/ymath.h
@@ -47,10 +47,10 @@ Log2(T value) {
return Log2(static_cast<double>(value));
}
-/** Returns 2^x */
-double Exp2(double);
-float Exp2f(float);
-
+/** Returns 2^x */
+double Exp2(double);
+float Exp2f(float);
+
template <class T>
static constexpr T Sqr(const T t) noexcept {
return t * t;