aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ymath.h
diff options
context:
space:
mode:
authoraosipenko <aosipenko@yandex-team.ru>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:08 +0300
commit69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /util/generic/ymath.h
parent948fd24d47d4b3b7815aaef1686aea00ef3f4288 (diff)
downloadydb-69e3c43df1c96bc2ac8946bf4dfb1f5fc438ff7f.tar.gz
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/ymath.h')
-rw-r--r--util/generic/ymath.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/ymath.h b/util/generic/ymath.h
index 97abaf6e31..9ff9ae2abe 100644
--- a/util/generic/ymath.h
+++ b/util/generic/ymath.h
@@ -1,7 +1,7 @@
#pragma once
#include <util/system/yassert.h>
-#include <util/system/defaults.h>
+#include <util/system/defaults.h>
#include <cmath>
#include <cfloat>
@@ -91,14 +91,14 @@ static inline bool IsNan(double f) {
inline bool IsValidFloat(double f) {
return IsFinite(f) && !IsNan(f);
}
-
+
#ifdef _MSC_VER
-double Erf(double x);
-#else
-inline double Erf(double x) {
- return erf(x);
-}
-#endif
+double Erf(double x);
+#else
+inline double Erf(double x) {
+ return erf(x);
+}
+#endif
/**
* @returns Natural logarithm of the absolute value