JuliaLang/julia

Granular `@fastmath` flags

开放

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

 (3 条评论) (6 个反应) (0 位负责人)Julia (5,773 个派生)batch import
featuregood first issuehelp wanted

仓库指标

星标
 (48,709 个星标)
PR 合并指标
 (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.

贡献者指南