|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <cstring>#include <type_traits>Namespaces | |
| namespace | non_builtin |
| namespace | sw |
| required std libraries | |
Macros | |
| #define | BIT_CAST using non_builtin::bit_cast |
| #define | BIT_CAST_CONSTEXPR |
| #define | BIT_CAST_IS_CONSTEXPR false |
Typedefs | |
| template<class From, class To> | |
| using | non_builtin::bit_castable_to_t |
Functions | |
| template<class T, class F> | |
| bit_castable_to_t< F, T > | non_builtin::bit_cast (const F &src) noexcept |
Variables | |
| sw::BIT_CAST | |
| constexpr bool | sw::is_bit_cast_constexpr_v = BIT_CAST_IS_CONSTEXPR |
| #define BIT_CAST using non_builtin::bit_cast |
| #define BIT_CAST_CONSTEXPR |
| #define BIT_CAST_IS_CONSTEXPR false |