[Bug fortran/36096] F2008 Bessel: Documentation/diagnostic errors

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 5 05:29:00 GMT 2008



------- Comment #1 from burnus at gcc dot gnu dot org  2008-05-05 05:28 -------
> ERF, ERFC, GAMMA, and LOG_GAMMA returned NaN for REAL*10 inputs in
> my test.  EXPONENT returned garbage for REAL*10 and FRACTION

There is another thing which has to be addressed. On Windows there seems to be
no "long double" support for some C99 functions. FX writes in the same thread:

> > I would assume that the absence of BESSEL_J0, BESSEL_J1, BESSEL_Y0, and
> > BESSEL_Y1 for REAL(10) inputs for non-initialization expressions for
> > both Win32 and Win64 is a different issue altogether.
>
> This isn't, for now, treated as a bug: Windows C library doesn't provide
> these C99 intrinsic functions ({j,y}{0,1}l). It's been our policy until
> now that while we provide fallback versions of some C99 intrinsics when
> they're missing (for example, float variants or double variants), support
> for real types larger than double (real kinds 10 and 16) entirely relies
> on the system libraries for mathematical intrinsics. Maybe this should be
> documented somewhere, but I don't know really where. Suggestions as to a
> point where to insert this in our current documentation are welcome.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36096



More information about the Gcc-bugs mailing list