summaryrefslogtreecommitdiffstats
path: root/util/generic/ymath.h
diff options
context:
space:
mode:
authoresgv <[email protected]>2022-02-10 16:50:24 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:24 +0300
commite7879def805c52076a0b162a0270dfb229379d4e (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/ymath.h
parent555c14603bb6a3b676b9ace65d6e5a8b35a32fee (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 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 1534a490bcf..9ff9ae2abe2 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;