Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
riknoll committed Aug 26, 2024
1 parent 0f709b2 commit 7d078c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/base/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1353,6 +1353,7 @@ TNumber pow(TNumber x, TNumber y) {
}
if (dx == 0) {
if (dy < 0) {
// positive infinity
return fromDouble(HUGE_VAL);
}
return x;
Expand Down

0 comments on commit 7d078c0

Please sign in to comment.