From: Jakub Jelinek <jakub@redhat.com>
To: Erik Schnetter <schnetter@uni-tuebingen.de>
Cc: gcc@gcc.gnu.org
Subject: Re: Implementing real*16 in Fortran
Date: Sun, 03 Aug 2003 20:35:00 -0000 [thread overview]
Message-ID: <20030803185439.GR20507@sunsite.ms.mff.cuni.cz> (raw)
In-Reply-To: <200308031317.33934.schnetter@uni-tuebingen.de>
On Sun, Aug 03, 2003 at 01:17:19PM +0200, Erik Schnetter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I want to implement real*16 in Fortran. For that I seem to need two
> things:
>
> (1) For run time libraries, I need a corresponding C type. I think the
> best thing would be to use long double for that, but it has to have a
> sizeof of 16. On i386, the option -m128bit-long-double does just this.
> Is there a way to declare a type that does not need this option? I
I don't think IA-32/IA-64/amd64 TFmode (ieee_extended_128)
is what you're looking for. That's still the same thing as XFmode, but
padded to 16 bytes.
Doesn't Fortran mandate IEEE quad format (TFmode on sparc and a couple
of other platforms), ie. 1 bit sign, 15 bits exponent, 112+1 bits of
mantissa?
Jakub
next prev parent reply other threads:[~2003-08-03 18:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-03 12:57 Erik Schnetter
2003-08-03 20:35 ` Jakub Jelinek [this message]
2003-08-03 21:30 ` Erik Schnetter
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=20030803185439.GR20507@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=schnetter@uni-tuebingen.de \
/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: link
Be 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).