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