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

◆ bits2digits()

int mpfr::bits2digits ( mp_prec_t b)
inline

Definition at line 1969 of file mpreal.h.

1970{
1971 const double LOG10_2 = 0.30102999566398119;
1972
1973 return int(std::floor( b * LOG10_2 ));
1974}

References bits2digits().

Referenced by bits2digits(), and mpfr::mpreal::toString().