These might be useful for the buggy std.math tests where clever compilers don't raise FE flags if it is able to const-fold the value at compile time - such as GDC or LDC
For example, the following test returns false for `ieeeFlags.inexact` with optimizations on.
```
() { x = 1; x += 0.1; },
() => ieeeFlags.inexact
```
So we would benefit from instead writing it as:
```
() { volatileStore(&x, 1); volatileStore(&x, x + 0.1); }
() => ieeeFlags.inexact
```
Which should be guaranteed to be true if the compiler adheres to correct volatile semantics.
Comment #1 by robert.schadek — 2024-12-13T19:01:04Z