bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] gsl_complex_pow() returns unexpected value


From: David McMackins
Subject: [Bug-gsl] gsl_complex_pow() returns unexpected value
Date: Mon, 5 Sep 2016 07:49:31 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

I'm writing a calculator application which uses the GSL as the backend
for math operations with complex numbers. When I make a call to
gsl_complex_pow() with the arguments of 0+9i and 2+0i, I get back
-81+9.919639073e+15i, instead of just -81+0i as expected.

I'm using libgsl 1.16 as packaged in Debian unstable currently.

Happy Hacking,

David E. McMackins II
Associate Member, Free Software Foundation (#12889)

www.mcmackins.org www.delwink.com
www.gnu.org www.fsf.org



reply via email to

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