Is my fma() broken?

It is Cygwin’s fault. Or more correctly, the newlib C library it uses. It explicitly says it does not even try to get fma() emulation correct. GNU C library has correct emulation for almost all fma variants since 2015. For details, and the patches used to implement this, see the sourceware bug 13304. If efficiency … Read more