[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] [bug #51240] Bessel functions for nu < 0

From: Patrick Alken
Subject: [Bug-gsl] [bug #51240] Bessel functions for nu < 0
Date: Mon, 26 Jun 2017 03:46:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Follow-up Comment #2, bug #51240 (project gsl):

After Gerards suggestion I've implemented (see attached) the routines sin_pi
and cos_pi. Essentially, modf and fmod do the trick. I'm a bit surprised at
how simple the solution is, so please check if you see any problems, but the
numerical tests all pass.


(file #41048, file #41049, file #41050, file #41051)

Additional Item Attachment:

File name: sincos_pi.patch                Size:5 KB
File name: gsl_sf_sincos_pi.h             Size:1 KB
File name: sincos_pi.c                    Size:2 KB
File name: test_sincos_pi.c               Size:5 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]