efriedma added a comment.

cbrt() can't underflow; that's not how cube roots work.  If 0<x<1, cbrt(x) > x. 
 See also the definition of rootn() in IEEE 754 (which specifies no exceptions 
for n=3).

For fma(), sure, I guess we could whitelist glibc and msvcrt, if you're worried 
there's some unknown implementation which sets ERANGE.


https://reviews.llvm.org/D39641



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to