|
|
|
|
|
by mhh__
1686 days ago
|
|
D (LDC) lets you control the flags on a per function basis. So one can (and we do at work) have @optmath which is a specific set of flags (just a value we defined at compile time, the compiler recognizes it as a UDA) we want as opposed to letting the compiler bulldoze everything. |
|
#pragma GCC optimize(“fast-math")