diff options
author | aosipenko <aosipenko@yandex-team.ru> | 2022-02-10 16:48:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:08 +0300 |
commit | 948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch) | |
tree | 8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /util/generic/ymath.h | |
parent | d2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff) | |
download | ydb-948fd24d47d4b3b7815aaef1686aea00ef3f4288.tar.gz |
Restoring authorship annotation for <aosipenko@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/ymath.h')
-rw-r--r-- | util/generic/ymath.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/generic/ymath.h b/util/generic/ymath.h index 9ff9ae2abe..97abaf6e31 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 |