Gero
Gero
But the implementation for bit_cast is not constexpr if std::bit_cast/__builtin_bit_cast are available. I'm sure you can easily adapt that - then I would be happy already :-) But I need...
I need this for some math/FP functions, especially for the type boost::float80_t. The memory size of this type (sizeof) can be 16, 12 or 10 bytes depending on the platform/compiler/etc...
Hello Peter, I have seen that you have customized bit_cast (bit.hpp). But this is incomplete: constexpr case You only check if __builtin_bit_cast is available. But it cannot be assumed that...
You can use boost::type_traits ?
Thank you. I overlooked that. regards Gero
yes + yes ``` __complex128 c = r + i; c= cpowq(c, e); std::cout
spelling error BOOST_CSTDFLOAT_FLOAT128_QUIET_NAN (instead of BOOST_CSTDFLOAT_FLOAT128_QUIT_NAN)
> > Hello Matt, I would like to provide an extended library boost::charconv2. This implements: > > > > * FP types: an additional parameter nonfinite_style which means whether to...
Hello Matt > That's not a bug that is a deliberate design choice that is legal under C99 definition of `printf`. This makes sense in principle; see below. > See...
Hello Matt > > * from/to_chars_binary > > For floating point types? This can also be trivially implemented on the user end by `std::memcpy`/`std::bit_cast` into an integer and then using...