This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32049] Support on x86_64 also kind=16
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jun 2007 02:52:43 -0000
- Subject: [Bug fortran/32049] Support on x86_64 also kind=16
- References: <bug-32049-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from kargl at gcc dot gnu dot org 2007-06-01 02:52 -------
(In reply to comment #3)
>
> What about rolling our own with mpfr? Or is that too difficult. :)
>
It could be done with mpfr, but note that at the moment gfortran
will provide either REAL(10) or REAL(16). This has to do with
mapping Fortran types to equivalent C long double.
If you really want to get interesting, GCC has libdecnumber.
We could offer a base 10 REAL(X) where X is 42.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32049