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

◆ coerceToLongInteger() [1/6]

std::pair< bool, long > M2::ConcreteRing< ARingZZ >::coerceToLongInteger ( ring_elem a) const
inlinevirtual

Reimplemented from Ring.

Definition at line 1246 of file aring-glue.hpp.

1248{
1249 long b;
1250 fmpz t = reinterpret_cast<fmpz>(const_cast<Nterm *>(a.poly_val));
1251 bool succeed = ring().coerceToLongInteger(b, t);
1253}
const RingType & ring() const