JuliaLang/julia

Granular `@fastmath` flags

Open

#49,890 opened on 2023年5月19日

GitHub で見る
 (3 comments) (6 reactions) (0 assignees)Julia (5,773 forks)batch import
featuregood first issuehelp wanted

Repository metrics

Stars
 (48,709 stars)
PR merge metrics
 (平均マージ 20d 6h) (30d で 157 merged PRs)

説明

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

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