Address review feedback from @Copilot

- Clarify comments and add missing header
This commit is contained in:
Ed Hennis
2026-02-19 19:06:03 -05:00
parent 2ccf132f79
commit 0871eb0cb6
2 changed files with 4 additions and 4 deletions

View File

@@ -7,6 +7,7 @@
#include <limits>
#include <optional>
#include <ostream>
#include <stdexcept>
#include <string>
#ifdef _MSC_VER
@@ -67,9 +68,9 @@ isPowerOfTen(T value)
*
* The mantissa is in the range [min, max], where
*
* The mantissa_scale enum indicates whether the range is "small" or "large".
* This intentionally restricts the number of MantissaRanges that can be
* used to two: one for each scale.
* The mantissa_scale enum indicates whether the range is "small" or
* "large". This intentionally prevents the creation of any
* MantissaRanges representing other values.
*
* The "small" scale is based on the behavior of STAmount for IOUs. It has a min
* value of 10^15, and a max value of 10^16-1. This was sufficient for

View File

@@ -9,7 +9,6 @@
#include <iterator>
#include <limits>
#include <numeric>
#include <stdexcept>
#include <string>
#include <string_view>
#include <type_traits>