e8m0.hpp Source File#
utility/e8m0.hpp
Go to the documentation of this file.
__host__ __device__ constexpr int32_t get_exponent_value(T x)
Definition mxfp_utils.hpp:35
__host__ __device__ constexpr int32_t get_exponent_value< e8m0_bexp_t >(e8m0_bexp_t x)
Definition utility/e8m0.hpp:74
Definition ck.hpp:268
Unsigned representation of a conventional biased Float32 exponent.
Definition utility/e8m0.hpp:26
__host__ __device__ constexpr e8m0_bexp_t(int init)
Definition utility/e8m0.hpp:35
__host__ __device__ constexpr e8m0_bexp_t()
Definition utility/e8m0.hpp:33
__host__ __device__ constexpr e8m0_bexp_t(type init)
Definition utility/e8m0.hpp:34
__host__ __device__ constexpr e8m0_bexp_t(float scale)
Definition utility/e8m0.hpp:38
__host__ __device__ constexpr bool operator==(const e8m0_bexp_t &other) const
Definition utility/e8m0.hpp:59
__host__ __device__ constexpr bool is_nan() const
Definition utility/e8m0.hpp:65