[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Fwd: Modifying adaptive integration function
From: |
Francesco Florian |
Subject: |
Re: [Help-gsl] Fwd: Modifying adaptive integration function |
Date: |
Thu, 10 May 2018 12:18:37 +0200 |
Hello!
Since I have received no answer, I wonder whether this is the right mailing
list for this question. If it is not, can you please point me to the right one?
Thank you
--
Francesco Florian
On Monday, April 16, 2018 10:43:23 AM CEST Francesco Florian wrote:
> Hello,
> I'm currently trying to write a modified version of the functions in
> integration/qag.c to solve a problem I have, but I ran into this problem:
> qag uses the `GSL_COERCE_DBL' macro, which is defined in configure.ac (the
> relevant code follows)
>
> #if HAVE_EXTENDED_PRECISION_REGISTERS
> #define GSL_COERCE_DBL(x) (gsl_coerce_double(x))
> #else
> #define GSL_COERCE_DBL(x) (x)
> #endif
>
> How should I test my compiler (GCC) to get the right version to use?
>
> Moreover, I noticed that `retrieve (workspace, &a_i, &b_i, &r_i, &e_i);' is
> called at both the beginning and the end of the `do.., while' iteration
> (lines 181 and 231), and the second call seems useless. Is that correct?
> Thank you
>
- Re: [Help-gsl] Fwd: Modifying adaptive integration function,
Francesco Florian <=