numeric_utils< T > Struct Template Reference#
ck_tile::numeric_utils< T > Struct Template Reference
  #include <mxfp_convert.hpp>
Inheritance diagram for ck_tile::numeric_utils< T >:
  
Public Types | |
| using | traits = numeric_traits< T > | 
| using | _numeric = numeric< T > | 
| using | raw_type = typename T::raw_type | 
Static Public Member Functions | |
| static constexpr int | get_exponent (raw_type x) | 
| static constexpr bool | is_positive (raw_type x) | 
| static constexpr bool | is_subnormal (raw_type x) | 
| static constexpr double | get_mantissa (raw_type x) | 
Static Public Attributes | |
| static constexpr int | exp_mask = (1 << traits::exp) - 1 | 
  Static Public Attributes inherited from ck_tile::numeric_traits< T > | |
| static constexpr int | PackedSize = 1 | 
Member Typedef Documentation
◆ _numeric
template<typename T > 
      | using ck_tile::numeric_utils< T >::_numeric = numeric<T> | 
◆ raw_type
template<typename T > 
      | using ck_tile::numeric_utils< T >::raw_type = typename T::raw_type | 
◆ traits
template<typename T > 
      | using ck_tile::numeric_utils< T >::traits = numeric_traits<T> | 
Member Function Documentation
◆ get_exponent()
template<typename T > 
      
  | 
  inlinestaticconstexpr | 
◆ get_mantissa()
template<typename T > 
      
  | 
  inlinestaticconstexpr | 
◆ is_positive()
template<typename T > 
      
  | 
  inlinestaticconstexpr | 
◆ is_subnormal()
template<typename T > 
      
  | 
  inlinestaticconstexpr | 
Member Data Documentation
◆ exp_mask
template<typename T > 
      
  | 
  staticconstexpr | 
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-7.1.0/include/ck_tile/core/numeric/mxfp_convert.hpp
 
 Static Public Attributes inherited from