piranha
0.10
|
Specialisation of the implementation of piranha::math::is_unitary() for piranha::mp_integer. More...
#include <piranha/mp_integer.hpp>
Public Member Functions | |
bool | operator() (const mp_integer< SSize > &n) const |
Call operator. More... | |
Specialisation of the implementation of piranha::math::is_unitary() for piranha::mp_integer.
Definition at line 142 of file mp_integer.hpp.
|
inline |
Call operator.
This implementation will use internally piranha::mp_integer::is_one().
n | piranha::mp_integer to be tested. |
true
if n
is equal to 1, false
otherwise. Definition at line 151 of file mp_integer.hpp.