INET Framework for OMNeT++/OMNEST
inet::units::internal::fixed_power< Num, Den, Div, Mod > Struct Template Reference

#include <Units.h>

Static Public Member Functions

template<typename T >
static T pow (const T &t)
 

Member Function Documentation

template<int Num, int Den, int Div, int Mod>
template<typename T >
static T inet::units::internal::fixed_power< Num, Den, Div, Mod >::pow ( const T t)
inlinestatic

Referenced by inet::units::internal::scaling_factor< pow< U, N, D > >::fn(), and inet::units::raise().

500  {
501  return std::pow(t, static_cast<T>(Num) / static_cast<T>(Den));
502  }

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