JuliaLang/julia

Granular `@fastmath` flags

オープン

#49,890 opened on 2023/05/19

 (3 件のコメント) (6 件のリアクション) (0 人の担当者)Julia (5,773 件のフォーク)batch import
featuregood first issuehelp wanted

Repository metrics

Stars
 (48,709 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

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