
Operations for square and square-root propagators. More...
#include <arithmetic.hh>
Public Member Functions | |
| bool | even (void) const |
| Return whether exponent is even. More... | |
| int | exp (void) const |
| Return exponent. More... | |
| void | exp (int m) |
| Set exponent to m. More... | |
| template<class IntType > | |
| IntType | pow (IntType x) const |
Return . More... | |
| int | tpow (int x) const |
Return truncated to integer limits. More... | |
| int | fnroot (int x) const |
Return where x must be non-negative and . More... | |
| int | cnroot (int x) const |
Return where x must be non-negative and . More... | |
Operations for square and square-root propagators.
Requires
Definition at line 304 of file arithmetic.hh.
|
inline |
Return whether exponent is even.
Definition at line 176 of file pow-ops.hpp.
|
inline |
Return exponent.
Definition at line 181 of file pow-ops.hpp.
|
inline |
Set exponent to m.
Definition at line 186 of file pow-ops.hpp.
|
inline |
Return
.
Definition at line 192 of file pow-ops.hpp.
|
inline |
Return
truncated to integer limits.
Definition at line 197 of file pow-ops.hpp.
|
inline |
Return
where x must be non-negative and
.
Definition at line 207 of file pow-ops.hpp.
|
inline |
Return
where x must be non-negative and
.
Definition at line 224 of file pow-ops.hpp.