Consider:
> foob <- as.bigz(5:7)
> min(foob)
Big Integer ('bigz') :
[1] 5
> .bigz2mpfr(prev)
1 'mpfr' number of precision 4 bits
[1] 5
> min(.bigz2mpfr(foob))
1 'mpfr' number of precision 53 bits
[1] 5
> min(mpfr(5:7,5))
1 'mpfr' number of precision 53 bits
[1] 5
I know that the 'min' method for mpfr objects somehow dives into the 'min' method for bigz or bigq - class objects but can't figure out how or why the precision gets bumped up to such a larg value. Can anyone detail what's happening behind the curtain?
Addendum: this only seems to happen if I start out with mpfr objects with very small precision. If I start with, say foo <- mpfr(1:5, prec = 60) then I don't see any jump in the precision value.
These seem to be the default options, by type, absent setting precBit as you do above:
Greater or less precision can be requested.
Still head scratching on extracting from result for sets...