aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ymath.h
diff options
context:
space:
mode:
authorleo <leo@yandex-team.ru>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:40 +0300
commit99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/generic/ymath.h
parent980edcd3304699edf9d4e4d6a656e585028e2a72 (diff)
downloadydb-99609724f661f7e21d1cb08e8d80e87c3632fdb3.tar.gz
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/ymath.h')
-rw-r--r--util/generic/ymath.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/generic/ymath.h b/util/generic/ymath.h
index 9ed3110211..9ff9ae2abe 100644
--- a/util/generic/ymath.h
+++ b/util/generic/ymath.h
@@ -68,7 +68,7 @@ static inline bool IsFinite(double f) {
#if defined(isfinite)
return isfinite(f);
#elif defined(_win_)
- return _finite(f) != 0;
+ return _finite(f) != 0;
#elif defined(_darwin_)
return isfinite(f);
#elif defined(__GNUC__)
@@ -82,7 +82,7 @@ static inline bool IsFinite(double f) {
static inline bool IsNan(double f) {
#if defined(_win_)
- return _isnan(f) != 0;
+ return _isnan(f) != 0;
#else
return std::isnan(f);
#endif
@@ -92,7 +92,7 @@ inline bool IsValidFloat(double f) {
return IsFinite(f) && !IsNan(f);
}
-#ifdef _MSC_VER
+#ifdef _MSC_VER
double Erf(double x);
#else
inline double Erf(double x) {