On Jul 16, 2007, at 7:37 AM, Dan Gohman wrote: > Author: djg > Date: Mon Jul 16 09:37:41 2007 > New Revision: 39922 > > URL: http://llvm.org/viewvc/llvm-project?rev=39922&view=rev > Log: > Fix the documentation for llvm.sqrt so that sqrt(0) has defined > behavior, > which appears to be the intent.
Yep, also, IIRC, sqrt is defined for -0.0 as well. -Chris > Modified: > llvm/trunk/docs/LangRef.html > > Modified: llvm/trunk/docs/LangRef.html > URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ > LangRef.html?rev=39922&r1=39921&r2=39922&view=diff > > ====================================================================== > ======== > --- llvm/trunk/docs/LangRef.html (original) > +++ llvm/trunk/docs/LangRef.html Mon Jul 16 09:37:41 2007 > @@ -4477,7 +4477,7 @@ > <h5>Semantics:</h5> > > <p> > -This function returns the sqrt of the specified operand if it is a > positive > +This function returns the sqrt of the specified operand if it is a > nonnegative > floating point number. > </p> > </div> > > > _______________________________________________ > llvm-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits _______________________________________________ llvm-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
