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.

Best,
Konrad

(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:

  <http://savannah.gnu.org/bugs/?51240>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to