[cfe-commits] r72718 - /cfe/trunk/include/clang/AST/Builtins.def
Eli Friedman
eli.friedman at gmail.com
Tue Jun 2 10:45:14 PDT 2009
On Tue, Jun 2, 2009 at 10:20 AM, Chris Lattner<clattner at apple.com> wrote:
>
> On Jun 2, 2009, at 12:06 AM, Eli Friedman wrote:
>
>> Author: efriedma
>> Date: Tue Jun 2 02:06:02 2009
>> New Revision: 72718
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=72718&view=rev
>> Log:
>> Add builtin declarations for the variants of sin and cos.
>
> Nice. I don't think sin/cos set errno though, unlike sqrt. Aren't they
> const functions?
I don't think glibc sets it, but I don't know about other
implementations; see
http://opengroup.org/onlinepubs/007908775/xsh/sin.html .
-Eli
More information about the cfe-commits
mailing list