Open
Description
BigFloat
could be moved to a stdlib package (BigFloats
? MPFR
?), though there are a few places it is coupled to Base:
-
widen(::Float64)
andbig(::AbstractFloat)
- Should we just leave these undefined, and type-pirate them in the package?
- array hashing (which calls
widen
)Should be doable viaI misunderstood what theTwicePrecision
trickswiden
was for.
-
@irrational
macro, which defines aBigFloat
method -
Float64(::Irrational,::RoundingMode)
(which is used in floating point inequalities) -
Rational{T}(::Irrational)
andrationalize(::T,::Irrational)
c.f. https://discourse.julialang.org/t/moving-bigfloat-to-stdlib/8545