File tree Expand file tree Collapse file tree 6 files changed +12
-0
lines changed
Expand file tree Collapse file tree 6 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ template <typename Integral>
5050constexpr decimal128& operator=(const Integeral& RHS) noexcept;
5151
5252// 3.2.4.4 Conversion to integral type
53+ // If the value exceeds the range of the integral,
54+ // or is non-finite std::numeric_limits::max() is returned
5355explicit constexpr operator int() const noexcept;
5456explicit constexpr operator unsigned() const noexcept;
5557explicit constexpr operator long() const noexcept;
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ template <typename Integral>
5050constexpr decimal128_fast& operator=(const Integeral& RHS) noexcept;
5151
5252// 3.2.4.4 Conversion to integral type
53+ // If the value exceeds the range of the integral,
54+ // or is non-finite std::numeric_limits::max() is returned
5355explicit constexpr operator int() const noexcept;
5456explicit constexpr operator unsigned() const noexcept;
5557explicit constexpr operator long() const noexcept;
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ template <typename Integral>
5050constexpr decimal32& operator=(const Integeral& RHS) noexcept;
5151
5252// 3.2.2.4 Conversion to integral type
53+ // If the value exceeds the range of the integral,
54+ // or is non-finite std::numeric_limits::max() is returned
5355explicit constexpr operator int() const noexcept;
5456explicit constexpr operator unsigned() const noexcept;
5557explicit constexpr operator long() const noexcept;
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ template <typename Integral>
5050constexpr decimal32_fast& operator=(const Integeral& RHS) noexcept;
5151
5252// 3.2.2.4 Conversion to integral type
53+ // If the value exceeds the range of the integral,
54+ // or is non-finite std::numeric_limits::max() is returned
5355explicit constexpr operator int() const noexcept;
5456explicit constexpr operator unsigned() const noexcept;
5557explicit constexpr operator long() const noexcept;
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ template <typename Integral>
5050constexpr decimal64& operator=(const Integeral& RHS) noexcept;
5151
5252// 3.2.3.4 Conversion to integral type
53+ // If the value exceeds the range of the integral,
54+ // or is non-finite std::numeric_limits::max() is returned
5355explicit constexpr operator int() const noexcept;
5456explicit constexpr operator unsigned() const noexcept;
5557explicit constexpr operator long() const noexcept;
Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ template <typename Integral>
5050constexpr decimal64_fast& operator=(const Integeral& RHS) noexcept;
5151
5252// 3.2.3.4 Conversion to integral type
53+ // If the value exceeds the range of the integral,
54+ // or is non-finite std::numeric_limits::max() is returned
5355explicit constexpr operator int() const noexcept;
5456explicit constexpr operator unsigned() const noexcept;
5557explicit constexpr operator long() const noexcept;
You can’t perform that action at this time.
0 commit comments