JuliaLang/julia

Granular `@fastmath` flags

Open

#49,890 创建于 2023年5月19日

在 GitHub 查看
 (3 评论) (6 反应) (0 负责人)Julia (5,773 fork)batch import
featuregood first issuehelp wanted

仓库指标

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

描述

@fastmath is currently an all-or-nothing construct: one opts into every available flag (which is subject to change with new LLVM versions) by using this macro. There is no syntax to invoke a specific subset of the available flags.

A syntax for opt-in flags like @fastmath (;reassoc=true,contract=true,nsz=true) EXPR would be welcome for a more controlled @fastmath experience.

贡献者指南