public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/46416] libquadmath: missing functions Date: Thu, 06 Jan 2011 11:40:00 -0000 [thread overview] Message-ID: <bug-46416-4-oKUVyhB0tH@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-46416-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46416 --- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-01-06 11:11:27 UTC --- (In reply to comment #4) > Very lightly tested patch to add ca{sin,cos,tan}{,h}q and fix broken atan2q. Now posted to: http://gcc.gnu.org/ml/gcc-patches/2011-01/msg00279.html * * * (In reply to comment #3) > c) complex.h functions > - casinq, cacosq, catanq, casinhq, cacoshq, catanhq > - cimagq, conjq, cprojq, crealq Regarding the latter (except for the projection to the Riemann sphere, cprojq), it should suffice if one adds the following to the .h file. (GLIBC defines __extern_inline in sys/cdefs.h, which is included in features.h.) #ifndef __extern_inline # define extern __inline __attribute__ ((__gnu_inline__)) #endif __extern_inline __real128 cimagq (__complex128 __z) __THROW { return __imag__ __z; } __extern_inline __real128 crealq (__complex128 __z) __THROW { return __real__ __z; } __extern_inline __complex128 conjq (__complex128 __z) __THROW { return __extension__ ~__z; }
next prev parent reply other threads:[~2011-01-06 11:11 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-10 16:49 [Bug fortran/46416] New: libquadmath: Complex inverse hyperbolic/trigonometric function missing: casinhq etc burnus at gcc dot gnu.org 2010-12-27 23:54 ` [Bug fortran/46416] libquadmath: missing functions dfranke at gcc dot gnu.org 2010-12-27 23:54 ` dfranke at gcc dot gnu.org 2011-01-05 18:00 ` burnus at gcc dot gnu.org 2011-01-05 22:31 ` jakub at gcc dot gnu.org 2011-01-06 11:40 ` burnus at gcc dot gnu.org [this message] 2011-01-06 13:18 ` jakub at gcc dot gnu.org 2011-01-16 16:55 ` jakub at gcc dot gnu.org 2011-01-16 17:15 ` jakub at gcc dot gnu.org 2011-01-17 9:15 ` jakub at gcc dot gnu.org
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=bug-46416-4-oKUVyhB0tH@http.gcc.gnu.org/bugzilla/ \ --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).