public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/37714] Sign of sin(-0.0) depends on optimization level Date: Thu, 02 Oct 2008 11:43:00 -0000 [thread overview] Message-ID: <20081002114209.24373.qmail@sourceware.org> (raw) In-Reply-To: <bug-37714-16778@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from rguenth at gcc dot gnu dot org 2008-10-02 11:42 ------- Works on Linux where it replaces it with a call to sincos. Also works with the Linux glibc if explicitly calling cexp like static my_complex c_rect(double phi) { my_complex z; z.imag = __imag cexp (I * phi); return z; } which is only with -ffast-math replaced by a call to sin. So, this is a Darwin libm bug. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37714
next prev parent reply other threads:[~2008-10-02 11:43 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-10-02 9:10 [Bug c/37714] New: " dickinsm at gmail dot com 2008-10-02 11:43 ` rguenth at gcc dot gnu dot org [this message] 2008-10-02 14:35 ` [Bug c/37714] " dickinsm at gmail dot com 2008-10-02 15:38 ` rguenth at gcc dot gnu dot org 2008-10-02 15:54 ` dickinsm at gmail dot com 2009-08-29 7:05 ` dickinsm at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20081002114209.24373.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).