diff options
Diffstat (limited to 'src/mongo/db/exec/sbe/vm/arith.cpp')
| -rw-r--r-- | src/mongo/db/exec/sbe/vm/arith.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sbe/vm/arith.cpp b/src/mongo/db/exec/sbe/vm/arith.cpp index 1d41ff59ce1..e6c9d380ffd 100644 --- a/src/mongo/db/exec/sbe/vm/arith.cpp +++ b/src/mongo/db/exec/sbe/vm/arith.cpp @@ -1027,7 +1027,7 @@ std::tuple<bool, value::TypeTags, value::Value> ByteCode::genericLn(value::TypeT if (!operand.isGreater(Decimal128::kNormalizedZero) && !operand.isNaN()) { return {false, value::TypeTags::Nothing, 0}; } - auto operandLn = operand.logarithm(); + auto operandLn = operand.naturalLogarithm(); auto [tag, value] = value::makeCopyDecimal(operandLn); return {true, tag, value}; |
