Quantcast
Channel: different results with and without SSE ( float arrays multiplication) - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Peter Cordes for different results with and without SSE ( float...

FP addition is not perfectly associative, so a different order of operations produces slightly different rounding errors.Your C sums elements in order. (Unless you use -ffast-math to allow the compiler...

View Article



Answer by Lotayou for different results with and without SSE ( float arrays...

According to IEEE standard Formats, 32-bit float can only guanartee 6-7 digits accuracy. Your error is so marginal that no plausible claim can be made on compiler's mechanism. If you want to achieve...

View Article

different results with and without SSE ( float arrays multiplication)

I have two functions of 2d arrays multiplication. One of them with SSE. Another function without any optimization. Both functions work well. But the results are slightly different. For example...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images