This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32979] Implement vendor-specific ISNAN() intrinsic function
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Aug 2007 20:45:31 -0000
- Subject: [Bug fortran/32979] Implement vendor-specific ISNAN() intrinsic function
- References: <bug-32979-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from burnus at gcc dot gnu dot org 2007-08-03 20:45 -------
> I then believe that we do not need isnan. A person can use
> either IEEE_* when it becomes available or bind(c). I don't
> see why isnan is special in comparison to isinf.
I don't see it either, but other compilers have isnan() and do not have isinf()
- don't ask me why. Result is that there is some code around which uses isnan()
whereas there is (close to) no code which uses isinf().
Example a code which uses isnan: www.libatoms.org
Note that Fortran 2003 does not have IEEE_IS_INF, but "only" IEEE_IS_FINITE()
and IEEE_IS_NORMAL().
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32979