[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] Issue with log1p
From: |
Rhys Ulerich |
Subject: |
Re: [Bug-gsl] Issue with log1p |
Date: |
Sat, 8 Sep 2012 10:59:45 -0500 |
Hi Brian,
> But in many files where log1p is used, the gsl_sys.h header (where gsl_log1p
> is declared) is not included so the compiler doesn't pick up the declaration
> of gsl_log1p and hence wrongly concludes that it returns an int.
>
> So the header gsl_sys.h needs to be included in all files where log_1p is
> used.
Can you confirm that these are the relevant files?
specfunc/beta_inc.c
specfunc/legendre_poly.c
specfunc/gsl_sf_log.h
specfunc/trig.c
specfunc/beta.c
specfunc/gamma_inc.c
specfunc/test_sf.c
specfunc/poch.c
specfunc/log.c
Those are what a simple command like
grep -L gsl_sys.h `grep -Rl 'log_1p' *`
turns up when run across the GSL source tree
> This also applies to other functions that seek to substitute for missing
> 'standard' functions.
Have a list of functions I might check or a list of files for which
you suggest the gsl_sys.h header be included?
- Rhys