Skip to content

Commit 1ca4ec4

Browse files
committed
Fix copy-paste error
1 parent bba379f commit 1ca4ec4

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

doc/modules/ROOT/pages/decimal_fast64_t.adoc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ explicit constexpr operator decimal_fast128_t() const noexcept;
128128
----
129129
// 3.2.2.2 Conversion from floating-point type
130130
template <typename Float>
131-
explicit BOOST_DECIMAL_CXX20_CONSTEXPR decimal_fast32_t(Float val) noexcept;
131+
explicit BOOST_DECIMAL_CXX20_CONSTEXPR decimal_fast64_t(Float val) noexcept;
132132
133133
// 3.2.6 Conversion to floating-point type
134134
explicit BOOST_DECIMAL_CXX20_CONSTEXPR operator float() const noexcept;
@@ -150,7 +150,7 @@ See: xref:binary_floating_conversions.adoc[]
150150
----
151151
// 3.2.2.3 Conversion from integral type
152152
template <typename Integer>
153-
explicit constexpr decimal_fast32_t(Integer val) noexcept;
153+
explicit constexpr decimal_fast64_t(Integer val) noexcept;
154154
----
155155

156156
Constructs a decimal value subject to the current rounding mode (if necessary).
@@ -160,12 +160,12 @@ Constructs a decimal value subject to the current rounding mode (if necessary).
160160
[source,c++]
161161
----
162162
// Extension: Construction from (c)string
163-
explicit constexpr decimal_fast32_t(const char* str);
163+
explicit constexpr decimal_fast64_t(const char* str);
164164
165165
#ifndef BOOST_DECIMAL_HAS_STD_STRING_VIEW
166-
explicit inline decimal_fast32_t(const std::string& str);
166+
explicit inline decimal_fast64_t(const std::string& str);
167167
#else
168-
explicit constexpr decimal_fast32_t(std::string_view str);
168+
explicit constexpr decimal_fast64_t(std::string_view str);
169169
#endif
170170
----
171171

@@ -206,10 +206,10 @@ Constructs an integer representation of the decimal value subject to:
206206
[source,c++]
207207
----
208208
// 3.2.2.5 increment and decrement operators:
209-
constexpr decimal_fast32_t& operator++();
210-
constexpr decimal_fast32_t operator++(int);
211-
constexpr decimal_fast32_t& operator--();
212-
constexpr decimal_fast32_t operator--(int);
209+
constexpr decimal_fast64_t& operator++();
210+
constexpr decimal_fast64_t operator++(int);
211+
constexpr decimal_fast64_t& operator--();
212+
constexpr decimal_fast64_t operator--(int);
213213
----
214214

215215
Increments/Decrements the decimal value subject to:
@@ -222,10 +222,10 @@ Increments/Decrements the decimal value subject to:
222222
[source, c++]
223223
----
224224
// 3.2.2.6 compound assignment:
225-
constexpr decimal_fast32_t& operator+=(RHS rhs);
226-
constexpr decimal_fast32_t& operator-=(RHS rhs);
227-
constexpr decimal_fast32_t& operator*=(RHS rhs);
228-
constexpr decimal_fast32_t& operator/=(RHS rhs);
225+
constexpr decimal_fast64_t& operator+=(RHS rhs);
226+
constexpr decimal_fast64_t& operator-=(RHS rhs);
227+
constexpr decimal_fast64_t& operator*=(RHS rhs);
228+
constexpr decimal_fast64_t& operator/=(RHS rhs);
229229
----
230230

231231
Matches the behavior of xref:generic_decimal.adoc#operator_behavior[addition, subtraction, multiplication, and division].

0 commit comments

Comments
 (0)