spatel added a comment.

In https://reviews.llvm.org/D39481#912378, @efriedma wrote:

> Granted, I'm not sure all of those are right... I'm pretty sure, for example, 
> cbrt can't set errno, and carg can.  But I'd prefer to deal with that in a 
> separate patch.


I figured we have to be ultra-conservative here, and there are docs out there 
like this:

  "On successful completion, cbrt() returns the cube root of x. If x is NaN, 
cbrt() returns NaN and errno may be set to [EDOM]. "

http://pubs.opengroup.org/onlinepubs/7908799/xsh/cbrt.html


https://reviews.llvm.org/D39481



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

Reply via email to