2 ms·
I wrote a quick-and-dirty test using a simple dot product as the basis for testing precision. (Dot product-like operations are a relatively common use case for
by jcranmer 5y ago
I wrote a quick-and-dirty test using a simple dot product as the basis for testing precision. (Dot product-like operations are a relatively common use case for FMA).
Which result is more precise depends on the input data (I randomized it), but it seems that most commonly, there was no actual difference using FMA and not using it, and when there was a difference, it was even odds which one was the more precise result.