URL: <https://savannah.gnu.org/bugs/?66922>
Summary: Feature: special case for special functin logsin()
Group: GNU Scientific Library
Submitter: fermelelundi
Submitted: Mon 17 Mar 2025 11:13:26 PM UTC
Category: Build
Severity: 3 - Normal
Operating System:
Status: None
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: 2.8
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Mon 17 Mar 2025 11:13:26 PM UTC By: Fermé le Lundi <fermelelundi>
The function logsin() from specfunc/trig.c is negative infinity along the real
axis and for modulo Pi. The attached patch should handle this case, but fails
for its associated test cases:
TEST_SF_2(s, gsl_sf_complex_logsin_e, (0.0, 0.0, &r1, &r2), GSL_NEGINF,
TEST_TOL0, 0, TEST_TOL0, GSL_SUCCESS);
TEST_SF_2(s, gsl_sf_complex_logsin_e, (M_PI, 0.0, &r1, &r2), GSL_NEGINF,
TEST_TOL0, 0, TEST_TOL0, GSL_SUCCESS);
TEST_SF_2(s, gsl_sf_complex_logsin_e, (-M_PI, 0.0, &r1, &r2), GSL_NEGINF,
TEST_TOL0, 0, TEST_TOL0, GSL_SUCCESS);
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: specfunc_trig.diff Size: 598B
<https://file.savannah.gnu.org/file/specfunc_trig.diff?file_id=57033>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-430a936471d74ee9bc5f14aee48dd84cbd3cbce0.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66922>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
