Helper struct to get the correspondingly sized integer for a given floating type. More...
#include <Math.h>
Public Types | |
| using | type = std::conditional_t< bit_size_v< FloatType >==32, std::int32_t, std::int64_t > |
| access the int data type | |
Helper struct to get the correspondingly sized integer for a given floating type.
As 128-bit type floating points are not yet available in C++20, we ensure it will fail to be instantiated with a hint to extend the functionality (since installation with 128-bit implies these types being then in the standard)
| FloatType | floating point type |