summaryrefslogtreecommitdiff
path: root/src/mongo/platform/decimal128.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/platform/decimal128.h')
-rw-r--r--src/mongo/platform/decimal128.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mongo/platform/decimal128.h b/src/mongo/platform/decimal128.h
index 7b96d8e2611..052c7a020d2 100644
--- a/src/mongo/platform/decimal128.h
+++ b/src/mongo/platform/decimal128.h
@@ -198,11 +198,14 @@ public:
* "200E9999999999" --> +Inf
* "-200E9999999999" --> -Inf
*/
- explicit Decimal128(std::string stringValue, RoundingMode roundMode = kRoundTiesToEven);
+ explicit Decimal128(std::string stringValue,
+ RoundingMode roundMode = kRoundTiesToEven,
+ size_t* charsConsumed = nullptr);
Decimal128(std::string stringValue,
std::uint32_t* signalingFlag,
- RoundingMode roundMode = kRoundTiesToEven);
+ RoundingMode roundMode = kRoundTiesToEven,
+ size_t* charsConsumed = nullptr);
/**
* This function gets the inner Value struct storing a Decimal128 value.