JuliaLang/julia
GitHub で見るgeneralize our `BigFloat(::Float64)` method to more integer and floatingpoint types.
Open
#50,940 opened on 2023年8月16日
bignumsgood first issueperformance
Repository metrics
- Stars
- (48,709 stars)
- PR merge metrics
- (平均マージ 20d 6h) (30d で 157 merged PRs)
説明
https://github.com/JuliaLang/julia/pull/47546 made BigFloat(::Float64) about 2x faster, but basically the same optimization could be done for the common Integer types (Base.BitInteger64), Base.IEEEFloat and Rational (where the denominator is a power of 2).