boostorg / multiprecision

Boost.Multiprecision
Boost Software License 1.0
194 stars 111 forks source link

Fix up cpp_bin_float for very small bit counts. #577

Closed jzmaddock closed 8 months ago

jzmaddock commented 8 months ago

Adds support for emulating float16_t and bfloat16_t. Also adds test cases, and updates test_arithmetic.hpp to cope with testing small bit count types. Fixes https://github.com/boostorg/multiprecision/issues/576.