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

◆ set_from_mpz()

void M2::ARingZZpFlint::set_from_mpz ( ElementType & result,
mpz_srcptr a ) const
inline

Definition at line 156 of file aring-zzp-flint.hpp.

157 {
158 result = mpz_fdiv_ui(a, mCharac);
159 }
VALGRIND_MAKE_MEM_DEFINED & result(result)

References mCharac, and result().

Referenced by getElement< M2::ARingZZpFlint >(), and set_from_mpq().