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

◆ increase_norm()

void M2::ARingRRR::increase_norm ( gmp_RRmutable norm,
const ElementType & a ) const
inline

Definition at line 308 of file aring-RRR.hpp.

309 {
310 if (mpfr_cmpabs(&a, norm) > 0)
311 {
312 set(*norm, a);
313 abs(*norm, *norm);
314 }
315 }
void set(ElementType &result, const ElementType &a) const
#define abs(x)
Definition polyroots.cpp:51

References abs, and set().

Referenced by MatrixOps::increase_norm().