#include <cmath>
#include <cstdint>
#include <limits>
#include <ostream>
#include <type_traits>
#include <half.hpp>
Go to the source code of this file.
|
|
template<int w> |
using | mim::w2u = typename detail::w2u_<w>::type |
|
template<int w> |
using | mim::w2s = typename detail::w2s_<w>::type |
|
template<int w> |
using | mim::w2f = typename detail::w2f_<w>::type |
|
◆ CODE1
Value: using s ## i = int ## i ##_t; \
using u ## i = uint ## i ##_t;
Definition at line 31 of file types.h.
◆ CODE2
Value: template<> struct w2u_<i> { using type = u ## i; }; \
template<> struct w2s_<i> { using type = s ## i; };
Definition at line 58 of file types.h.
◆ CODE3
Value: template<> struct w2f_<i> { using type = f ## i; };
Definition at line 64 of file types.h.
◆ CODE4
Value: constexpr s ## i operator"" _s ## i(unsigned long long int s) { return s ## i(s); } \
constexpr u ## i operator"" _u ## i(unsigned long long int u) { return u ## i(u); }
Definition at line 79 of file types.h.
◆ HALF_ROUND_STYLE
#define HALF_ROUND_STYLE 1 |
◆ HALF_ROUND_TIES_TO_EVEN
#define HALF_ROUND_TIES_TO_EVEN 1 |
◆ MIM_16_32_64
#define MIM_16_32_64 |
( |
| m | ) |
|
Value:
Definition at line 26 of file types.h.
◆ MIM_1_8_16_32_64
#define MIM_1_8_16_32_64 |
( |
| m | ) |
|
Value:m(1) m(8) m(16) m(32) m(64)
Definition at line 24 of file types.h.
◆ MIM_8_16_32_64
#define MIM_8_16_32_64 |
( |
| m | ) |
|
Value:
Definition at line 25 of file types.h.