piranha  0.10
Public Member Functions | List of all members
piranha::math::abs_impl< mp_integer< SSize > > Struct Template Reference

Specialisation of the implementation of piranha::math::abs() for piranha::mp_integer. More...

#include <piranha/mp_integer.hpp>

Public Member Functions

mp_integer< SSize > operator() (const mp_integer< SSize > &n) const
 Call operator. More...
 

Detailed Description

template<std::size_t SSize>
struct piranha::math::abs_impl< mp_integer< SSize > >

Specialisation of the implementation of piranha::math::abs() for piranha::mp_integer.

Definition at line 173 of file mp_integer.hpp.

Member Function Documentation

◆ operator()()

template<std::size_t SSize>
mp_integer<SSize> piranha::math::abs_impl< mp_integer< SSize > >::operator() ( const mp_integer< SSize > &  n) const
inline

Call operator.

This implementation will use internally piranha::mp_integer::abs(const mp_integer &).

Parameters
ninput parameter.
Returns
absolute value of n.

Definition at line 182 of file mp_integer.hpp.


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