| 2765 | // halfway between b and b+u. |
| 2766 | template <typename T> |
| 2767 | fastfloat_really_inline FASTFLOAT_CONSTEXPR20 |
| 2768 | adjusted_mantissa to_extended_halfway(T value) noexcept { |
| 2769 | adjusted_mantissa am = to_extended(value); |
| 2770 | am.mantissa <<= 1; |
| 2771 | am.mantissa += 1; |
| 2772 | am.power2 -= 1; |
| 2773 | return am; |
| 2774 | } |
| 2775 | |
| 2776 | // round an extended-precision float to the nearest machine float. |
| 2777 | template <typename T, typename callback> |
no test coverage detected