JuliaLang/julia

Granular `@fastmath` flags

Open

#49.890 aberto em 19 de mai. de 2023

Ver no GitHub
 (3 comments) (6 reactions) (0 assignees)Julia (5.773 forks)batch import
featuregood first issuehelp wanted

Métricas do repositório

Stars
 (48.709 stars)
Métricas de merge de PR
 (Mesclagem média 20d 6h) (157 fundiu PRs em 30d)

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.

Guia do colaborador