search for: ffba8a29

Displaying 2 results from an estimated 2 matches for "ffba8a29".

2013 Apr 24
0
[LLVMdev] Optimize away sqrt in simple cases?
...eption. Floating point computations are deterministic and a function only of their inputs (and a couple of modal switches like rounding mode). --Owen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130424/ffba8a29/attachment.html>
2013 Apr 24
5
[LLVMdev] Optimize away sqrt in simple cases?
> This is not true. The mathematically correct result for sqrt might not be a representable value in floating point, so rounding may occur between the two steps. In that case, pow2(sqrt(x)) != x. > > --Owen I think what Christoph is saying is that x will always be at least as accurate as pow2(sqrt(x)), so it's only unsafe in so far as one's code is actually depending on an