With all the other things moving out of Base, there are not really many places where BigFloat is used anymore:
int.jl, there is a parsing routine that would simply move to
mpfr.jl would move to
printf.jl (which I’d thought had already moved to
stdlib/Printf.jl), there is some code to print out BigFloats and BigInts.
There’s a single function in
hashing2.jl, which also would just move to
There are a few lines in
include("mpfr.jl") using .MPFR big(n::Integer) = convert(BigInt,n) big(x::AbstractFloat) = convert(BigFloat,x) big(q::Rational) = big(numerator(q))//big(denominator(q))
There’s a line in
The only real use is in
irrationals.jl, and I believe the BigFloat part of irrationals could be moved also out.
This would remove a large dependency from Base (the MPFR library),
BigFloats to be updated without waiting on the Julia timeline.