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

Method getAlgoPascalMinNumber

Singular/svd_si.h:1596–1604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1594
1595 template<unsigned int Precision>
1596 const ampf<Precision> ampf<Precision>::getAlgoPascalMinNumber()
1597 {
1598 ampf<Precision> r(1);
1599 mp_exp_t e1 = mpfr_get_emax();
1600 mp_exp_t e2 = -mpfr_get_emin();
1601 mp_exp_t e = e1>e2 ? e1 : e2;
1602 mpfr_set_exp(r.getWritePtr(), 2-(e-5));
1603 return r;
1604 }
1605
1606 template<unsigned int Precision>
1607 const ampf<Precision> ampf<Precision>::getRandom()

Callers

nothing calls this directly

Calls 1

getWritePtrMethod · 0.45

Tested by

no test coverage detected