JuliaLang/julia

Granular `@fastmath` flags

Open

#49 890 ouverte le 19 mai 2023

Voir sur GitHub
 (3 commentaires) (6 réactions) (0 assignés)Julia (5 773 forks)batch import
featuregood first issuehelp wanted

Métriques du dépôt

Stars
 (48 709 stars)
Métriques de merge PR
 (Merge moyen 20j 6h) (157 PRs mergées en 30 j)

Description

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

Guide contributeur