This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/32979] Implement vendor-specific ISNAN() intrinsic function



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]