MCPcopy Create free account
hub / github.com/Singular/Singular / getAlgoPascalMaxNumber

Method getAlgoPascalMaxNumber

Singular/svd_si.h:1585–1593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1583
1584 template<unsigned int Precision>
1585 const ampf<Precision> ampf<Precision>::getAlgoPascalMaxNumber()
1586 {
1587 ampf<Precision> r(1);
1588 mp_exp_t e1 = mpfr_get_emax();
1589 mp_exp_t e2 = -mpfr_get_emin();
1590 mp_exp_t e = e1>e2 ? e1 : e2;
1591 mpfr_set_exp(r.getWritePtr(), e-5);
1592 return r;
1593 }
1594
1595 template<unsigned int Precision>
1596 const ampf<Precision> ampf<Precision>::getAlgoPascalMinNumber()

Callers

nothing calls this directly

Calls 1

getWritePtrMethod · 0.45

Tested by

no test coverage detected