This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libgfortran, patch] C99 floating-point macros: isinf, isnan, ...
- From: Tobias Burnus <burnus at net-b dot de>
- To: FX <fxcoudert at gmail dot com>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 09 Sep 2010 14:24:45 +0200
- Subject: Re: [libgfortran, patch] C99 floating-point macros: isinf, isnan, ...
- References: <05A0A3C7-6C1E-41FF-99C5-7661D7BB968E@gmail.com>
On 09/09/2010 12:24 PM, FX wrote:
The attached patch removes the configure checks and hackish libgfortran.h definitions for C99 floating-point classification macros: isinf, isnan, isfinite, isnormal and signbit. Instead, I define all of them using the GCC built-ins (__builtin_isinf, etc.).
Bootstrapped and regtested on x86_64-linux, OK to commit?
OK.
* * *
Regarding __float128 support, what is the current status?
I think with regards to http://gcc.gnu.org/ml/fortran/2010-08/msg00499.html
- Most front-end changes have been committed
- isnan problem is solved (cf. above)
- number of digits in I/O: diagnosed
- cygwin cbrtl/sqrtl: diagnosed
- SC: pending
- array support: Pending - though, I fear the descriptor update will not
make it for 4.6. If so, will you introduce GFC_DT_FLOAT128 - or defer it
to 4.7?
Is this more or less the __float128/quad status?
How about posting a new patch without the merged parts and with the I/O
digits/precision fixed?
Tobias