2 ms·
A decorator is a nice idea for this. I was going to suggest another package that just resets the MXCSR when imported, but I guess... hypothetically... some fun
by bee_rider 4y ago
A decorator is a nice idea for this.
I was going to suggest another package that just resets the MXCSR when imported, but I guess... hypothetically... some function might actually want the FTZ behavior.
- jcranmer 4y agoIf you want that behavior, you should explicitly enable it/disable it at the borders of the region where you want that behavior, rather than screwing over everybody for your own benefit.