[Bug fortran/33197] Fortran 2008: math functions and other small changes

2008-03-06 Thread fxcoudert at gcc dot gnu dot org
--- Comment #12 from fxcoudert at gcc dot gnu dot org 2008-03-06 12:41 --- Subject: Bug 33197 Author: fxcoudert Date: Thu Mar 6 12:40:28 2008 New Revision: 132970 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132970 Log: PR fortran/33197 * intrinsic.c

[Bug fortran/33197] Fortran 2008: math functions and other small changes

2008-03-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2008-03-04 14:21 --- A bit of experimentation reveals that we can use the asymptotic expression at http://en.wikipedia.org/wiki/Error_function#Asymptotic_expansion for arguments larger than 7, and it does converge with less than 100

[Bug fortran/33197] Fortran 2008: math functions and other small changes

2008-03-04 Thread fxcoudert at gcc dot gnu dot org
--- Comment #11 from fxcoudert at gcc dot gnu dot org 2008-03-04 14:26 --- On ppc longdouble, convergence requires argument = 8.6 and, again, less than 100 terms. Why does convergence radius depend on the format of the floating-point type, I wonder... For the record, here's the small C

[Bug fortran/33197] Fortran 2008: math functions and other small changes

2008-03-03 Thread fxcoudert at gcc dot gnu dot org
--- Comment #9 from fxcoudert at gcc dot gnu dot org 2008-03-03 23:51 --- Tobias noted the following also need updating: 3999: /* Fortran 2008 draft allows BIND(C) for internal procedures. */ 4000- if (gfc_current_state () == COMP_CONTAINS 4001-