JuliaLang/julia

Granular `@fastmath` flags

Ouverte

#49 890 ouverte le 19 mai 2023

 (3 commentaires) (6 réactions) (0 personne assignée)Julia (5 773 forks)batch import
featuregood first issuehelp wanted

Métriques du dépôt

Stars
 (48 709 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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