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

Submitted by:  M Welinder <terra>
Submitted on:  Sat 05 Mar 2016 07:07:42 PM UTC  
 
Category: Accuracy problemSeverity: 3 - Normal
Operating System: LinuxStatus: None
Assigned to: NoneOpen/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>

 

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
  • -unavailable- added by yuliu (Updated the item)
  • -unavailable- added by terra (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 16 Sep 2016 06:08:10 AM UTCyuliuAttached File-=>Added gsl_complex_arccosh.diff, #38522
    Fri 02 Sep 2016 06:16:19 AM UTCyuliuAttached File-=>Added test_acosh.c, #38404
      Attached File-=>Added test_acosh_result, #38405

    Back to the top


    Powered by Savane 3.1-cleanup1