Your message dated Mon, 10 Aug 2026 20:15:02 +0200
with message-id <[email protected]>
and subject line Closing the bug report
has caused the Debian Bug report #805986,
regarding gnome-calculator: Operations with complex numbers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
805986: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805986
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gnome-calculator
Version: 3.18.2-1
Severity: normal

Dear maintainer,
operations with complex numbers have some surprising results in gnome-
calculator.

while e^(a*i*Pi) seems to give the correct result for every a in R, other
related operations don't work as well:

* Integer power: z^n, z in C, n in N, returns z even if it makes no sense,
while z*z, for example, works fine.
If n is not positive, strange things happen, depending on inputs.

Reproduce with i^2, i^(-1), i^(-2)

* Hyperbolic fuctions: sinh(ai), cosh(ai) and tanh(ai) always return 0 and 1,
instead of the proper value.
With some testing, they seem to return f(Re(z)) instead of f(z).

Consider telling the user those functions are unsupported for some arguments,
like the factorial does.



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gnome-calculator depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.24.0-2
ii  libatk1.0-0                                  2.18.0-1
ii  libc6                                        2.19-22
ii  libcairo-gobject2                            1.14.4-1
ii  libcairo2                                    1.14.4-1
ii  libgdk-pixbuf2.0-0                           2.32.2-1
ii  libglib2.0-0                                 2.46.2-1
ii  libgmp10                                     2:6.1.0+dfsg-2
ii  libgtk-3-0                                   3.18.5-1
ii  libgtksourceview-3.0-1                       3.18.1-1
ii  libmpfr4                                     3.1.3-1
ii  libpango-1.0-0                               1.38.1-1
ii  libpangocairo-1.0-0                          1.38.1-1
ii  libxml2                                      2.9.2+zdfsg1-4

Versions of packages gnome-calculator recommends:
ii  gvfs  1.26.2-1
ii  yelp  3.16.1-1

gnome-calculator suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hello,

as I have tested it on the newest version of gnome-calculator in Debian forky/sid,
everything mentioned works fine, without any problems.

Probably it got fixed somewhere on the way.

If you still have problems, please open another bug report.

Thanks,
Dawid Kulas

--- End Message ---

Reply via email to