Skip to content

Commit 27a1964

Browse files
committed
Lump conversion to double with from double
1 parent 45e748f commit 27a1964

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/modules/ROOT/pages/decimal32_t.adoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,18 @@ explicit constexpr operator decimal128_t() const noexcept;
117117

118118
== Operator Behavior
119119

120-
=== Construction from binary floating-point type
120+
=== Construction to and from binary floating-point type
121121

122122
[source, c++]
123123
----
124124
// 3.2.2.2 Conversion from floating-point type
125125
template <typename Float>
126126
explicit BOOST_DECIMAL_CXX20_CONSTEXPR decimal32_t(Float val) noexcept;
127+
128+
// 3.2.6 Conversion to floating-point type
129+
explicit BOOST_DECIMAL_CXX20_CONSTEXPR operator float() const noexcept;
130+
explicit BOOST_DECIMAL_CXX20_CONSTEXPR operator double() const noexcept;
131+
explicit BOOST_DECIMAL_CXX20_CONSTEXPR operator long double() const noexcept;
127132
----
128133

129134
See: xref:binary_floating_conversions.adoc[]

0 commit comments

Comments
 (0)