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

◆ increase_maxnorm() [3/5]

void M2::ConcreteRing< ARingCC >::increase_maxnorm ( gmp_RRmutable norm,
const ring_elem f ) const
inlinevirtual

Reimplemented from Ring.

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

1136{
1137 const ARingRR &realR = R->real_ring();
1139 const ElementType &b = R->from_ring_elem_const(f);
1140 R->abs(a, b);
1141 if (mpfr_cmp_d(norm, a) < 0) mpfr_set_d(norm, a, MPFR_RNDN);
1142}
RingType::ElementType ElementType
std::unique_ptr< RingType > R