This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Premature: exception handling complex elementary functions (fwd)


Hello,
It is possible that I am not clearing the exception properly and that is
what is causing the strange testing problems.  I will see if this is the
case.

Andrew

On Fri, 16 Jan 2004, Brian Gough wrote:

> Andrew Binkley writes:
>  > Here are the test cases.  They should excercise all portions of the code.
>  > I had to redo the log ones -- thus the delay in my reply.  I am not
>  > familiar with the test suite so I have just included the cases in plain
>  > text.
>
> Hello,
>
> To add tests by hand to the test suite what you need to do is make a
> file results_eh.h containing lines like
>
>   {FN (sqrt), ARG(0.0e+00,0.0e+00), RES(0e0, 0.0)},
>
> where FN is the function (without the gsl_complex prefix), ARG is the
> argument and RES is the result.  Then #include this file in test.c
> immediately after the line where the existing results.h file is
> included.
>
> --
> Brian
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]