[intriunsics] asinh, acosh, atanh

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Jun 11 17:50:00 GMT 2005


On Sat, Jun 11, 2005 at 10:24:35AM -0700, Jerry DeLisle wrote:
> I have started into this.  It appears that MPFR implements these 
> functions as well as the C libraries.
> 
> Is it preferred to use MPFR?
> 
> Also, from looking at this it seems I need to "generate" some functions 
> similar to sinh.  I have not "discovered" that process yet. Hints are 
> welcome, otherwise I will continue sleuthing.  :)
> 

Look at how erfc or the bessel functions are implemented.  We 
do not use MPFR.  We map the functions to libm if the functions
are available.

kargl[202] cd gcc/gcc41/gcc/fortran
kargl[203] grep -i erfc *
gfortran.h
intrinsic.c
intrinsic.texi
mathbuiltins.def


Look at the these files
kargl[205] cd gcc/gcc41/libgfortran
kargl[206] find . -type f | xargs grep -i erfc
config.h.in
configure.ac
./intrinsics/erf.c

-- 
Steve



More information about the Fortran mailing list