bugGNU Scientific Library - Bugs: bug #47345, arccosh(1) wrong sign

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #47345: arccosh(1) wrong sign

Submitter:  M Welinder <terra>
Submitted:  Sat 05 Mar 2016 07:07:42 PM UTC
   
 
Category:  Accuracy problem Severity:  3 - Normal
Operating System:  Linux Status:  None
Assigned to:  None Open/Closed:  Open
Release:  2.1

Sat 05 Mar 2016 07:07:42 PM UTC, original submission:  

I get complex arccosh(1) -> -0.

To match acosh and gsl_complex_arccosh_real the result should
be +0.

M Welinder <terra>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #38522:  gsl_complex_arccosh.diff added by yuliu (1KiB - application/octet-stream - Patch for gsl_complex_arccosh following the idea of a8bd509b3f109dd168587d390bf02673bfd543c3 and gsl_complex_arccos.)
file #38404:  test_acosh.c added by yuliu (7KiB - application/octet-stream - A similar issue happened for gsl_complex_cos and a special branch was added to handle the case when the input was real (see commit a8bd509b3f109dd168587d390bf02673bfd543c3). Can we do the same for this issue? gsl_complex_arccos also has a separate branch.)
file #38405:  test_acosh_result added by yuliu (2KiB - application/octet-stream - A similar issue happened for gsl_complex_cos and a special branch was added to handle the case when the input was real (see commit a8bd509b3f109dd168587d390bf02673bfd543c3). Can we do the same for this issue? gsl_complex_arccos also has a separate branch.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by yuliu (Updated the item)
  • -email is unavailable- added by terra (Submitted the item)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-16 yuliu Attached File- Added gsl_complex_arccosh.diff, #38522
    2016-09-02 yuliu Attached File- Added test_acosh.c, #38404
        Attached File- Added test_acosh_result, #38405

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code