Macaulay2 Engine
Loading...
Searching...
No Matches

◆ power()

void M2::ARingRR::power ( ElementType & result,
const ElementType & a,
int n ) const
inline

Definition at line 227 of file aring-RR.hpp.

228 {
229 result = pow(a, n);
230 }
VALGRIND_MAKE_MEM_DEFINED & result(result)
const mpreal pow(const mpreal &a, const unsigned int b, mp_rnd_t rnd_mode=mpreal::get_default_rnd())
Definition mpreal.h:2962

References result().

Referenced by power_mpz(), and TEST().