diff --git a/libs/base/core.cpp b/libs/base/core.cpp index 9c2789f2c..80c06c186 100644 --- a/libs/base/core.cpp +++ b/libs/base/core.cpp @@ -1353,6 +1353,7 @@ TNumber pow(TNumber x, TNumber y) { } if (dx == 0) { if (dy < 0) { + // positive infinity return fromDouble(HUGE_VAL); } return x;