]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/33197 (Fortran 2008: math functions)
authorFrancois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 16 May 2009 17:33:23 +0000 (17:33 +0000)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sat, 16 May 2009 17:33:23 +0000 (17:33 +0000)
commit9b33a6a1db9e3e21eac8df9909d21d89b57fb507
tree4fec6f5d2ae7971100be9fe6ac743f7eb89a125b
parentb0c068160f502c9d37ec02c8a514546937544eb8
re PR fortran/33197 (Fortran 2008: math functions)

PR fortran/33197

* intrinsic.c (add_functions): Use ERFC_SCALED simplification.
* intrinsic.h (gfc_simplify_erfc_scaled): New prototype.
* simplify.c (fullprec_erfc_scaled, asympt_erfc_scaled,
gfc_simplify_erfc_scaled): New functions.

* gfortran.dg/erf_2.F90: New test.
* gfortran.dg/erfc_scaled_2.f90: New test.

From-SVN: r147621
gcc/fortran/ChangeLog
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/erf_2.F90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/erfc_scaled_2.f90 [new file with mode: 0644]