ref_pow< Base, Exponent, ExpIsInteger > Struct Template Reference

Static Public Member Functions

static Base run (Base base, Exponent exponent)
 

Member Function Documentation

◆ run()

template<typename Base , typename Exponent , bool ExpIsInteger = NumTraits<Exponent>::IsInteger>
static Base ref_pow< Base, Exponent, ExpIsInteger >::run ( Base  base,
Exponent  exponent 
)
inlinestatic
219  {
221  return static_cast<Base>(pow(base, static_cast<Base>(exponent)));
222  }
#define EIGEN_USING_STD(FUNC)
Definition: Macros.h:1090
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bfloat16 pow(const bfloat16 &a, const bfloat16 &b)
Definition: BFloat16.h:625

References EIGEN_USING_STD, and Eigen::bfloat16_impl::pow().

Referenced by float_pow_test_impl(), and test_exponent().


The documentation for this struct was generated from the following file: