| 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() |
nothing calls this directly
no test coverage detected