JuliaLang/julia

generalize our `BigFloat(::Float64)` method to more integer and floatingpoint types.

Open

#50,940 opened on 2023年8月16日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)Julia (5,773 forks)batch import
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).

コントリビューターガイド