@@ -143,43 +143,43 @@ constexpr auto to_bid(T val) noexcept
143143 return to_bid (val);
144144}
145145
146- BOOST_DECIMAL_EXPORT template <typename T = decimal_fast32_t >
146+ BOOST_DECIMAL_EXPORT template <typename T = decimal32_t >
147147constexpr auto from_bid (std::uint32_t bits) noexcept
148148 BOOST_DECIMAL_REQUIRES(detail::is_decimal_floating_point_v, T)
149149{
150- return from_bid_d32f (bits);
150+ return from_bid_d32 (bits);
151151}
152152
153153BOOST_DECIMAL_EXPORT template <>
154- constexpr auto from_bid<decimal32_t >(std::uint32_t bits) noexcept -> decimal32_t
154+ constexpr auto from_bid<decimal_fast32_t >(std::uint32_t bits) noexcept -> decimal_fast32_t
155155{
156- return from_bid_d32 (bits);
156+ return from_bid_d32f (bits);
157157}
158158
159- BOOST_DECIMAL_EXPORT template <typename T = decimal_fast64_t >
159+ BOOST_DECIMAL_EXPORT template <typename T = decimal64_t >
160160constexpr auto from_bid (std::uint64_t bits) noexcept
161161 BOOST_DECIMAL_REQUIRES(detail::is_decimal_floating_point_v, T)
162162{
163- return from_bid_d64f (bits);
163+ return from_bid_d64 (bits);
164164}
165165
166166BOOST_DECIMAL_EXPORT template <>
167- constexpr auto from_bid<decimal64_t >(std::uint64_t bits) noexcept -> decimal64_t
167+ constexpr auto from_bid<decimal_fast64_t >(std::uint64_t bits) noexcept -> decimal_fast64_t
168168{
169- return from_bid_d64 (bits);
169+ return from_bid_d64f (bits);
170170}
171171
172- BOOST_DECIMAL_EXPORT template <typename T = decimal_fast128_t >
172+ BOOST_DECIMAL_EXPORT template <typename T = decimal128_t >
173173constexpr auto from_bid (int128::uint128_t bits) noexcept
174174 BOOST_DECIMAL_REQUIRES(detail::is_decimal_floating_point_v, T)
175175{
176- return from_bid_d128f (bits);
176+ return from_bid_d128 (bits);
177177}
178178
179179BOOST_DECIMAL_EXPORT template <>
180- constexpr auto from_bid<decimal128_t >(int128::uint128_t bits) noexcept -> decimal128_t
180+ constexpr auto from_bid<decimal_fast128_t >(int128::uint128_t bits) noexcept -> decimal_fast128_t
181181{
182- return from_bid_d128 (bits);
182+ return from_bid_d128f (bits);
183183}
184184
185185#if defined(__GNUC__) && __GNUC__ == 7
0 commit comments