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.

貢獻者指南