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

◆ digits2bits()

mp_prec_t mpfr::digits2bits ( int d)
inline

Definition at line 1962 of file mpreal.h.

1963{
1964 const double LOG2_10 = 3.3219280948873624;
1965
1966 return mp_prec_t(std::ceil( d * LOG2_10 ));
1967}

References digits2bits().

Referenced by digits2bits().