piranha  0.10
Public Member Functions | List of all members
piranha::math::pow_impl< T, U, integer_pow_enabler< T, U > > Struct Template Reference

Specialisation of the implementation of piranha::math::pow() for piranha::mp_integer and integral types. More...

#include <piranha/pow.hpp>

Public Member Functions

ret_type operator() (const T &b, const U &e) const
 Call operator. More...
 

Detailed Description

template<typename T, typename U>
struct piranha::math::pow_impl< T, U, integer_pow_enabler< T, U > >

Specialisation of the implementation of piranha::math::pow() for piranha::mp_integer and integral types.

Note
This specialisation is activated when:

The implementation follows these rules:

Definition at line 171 of file pow.hpp.

Member Function Documentation

◆ operator()()

template<typename T , typename U >
ret_type piranha::math::pow_impl< T, U, integer_pow_enabler< T, U > >::operator() ( const T &  b,
const U &  e 
) const
inline

Call operator.

Parameters
bbase.
eexponent.
Returns
b**e.
Exceptions
unspecifiedany exception thrown by piranha::mp_integer::pow().

Definition at line 199 of file pow.hpp.


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