JuliaLang/julia

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

Open

#50,940 创建于 2023年8月16日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Julia (5,773 fork)batch import
bignumsgood first issueperformance

仓库指标

Star
 (48,709 star)
PR 合并指标
 (平均合并 20天 6小时) (30 天内合并 157 个 PR)

描述

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).

贡献者指南