desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #31673
[Bug 871988] [NEW] tanh function returns incorrect results
Public bug reported:
gcalctool evaluates the tanh function incorrectly.
gcalctool:
Installed: 5.30.0.is.5.28.2-0ubuntu2
Candidate: 5.30.0.is.5.28.2-0ubuntu2
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Steps to reproduce:
Run "gconftool --solve 'tanh 0.1'". It will print 0.549833997, although
the actual answer is 0.099667995. This is also repeatable using the
graphical calculator interface.
This has been fixed in Debian (see http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=604032) and Natty, but it's still a problem in
Lucid. Can you please add the patch to Lucid and SRU this? It's a very
simple patch, and it's pretty bad to have the default calculator in
gnome give incorrect answers.
** Affects: gcalctool (Ubuntu)
Importance: Undecided
Status: New
** Affects: gcalctool (Debian)
Importance: Unknown
Status: Unknown
** Bug watch added: Debian Bug tracker #604032
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604032
** Also affects: gcalctool (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604032
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gcalctool in Ubuntu.
https://bugs.launchpad.net/bugs/871988
Title:
tanh function returns incorrect results
Status in “gcalctool” package in Ubuntu:
New
Status in “gcalctool” package in Debian:
Unknown
Bug description:
gcalctool evaluates the tanh function incorrectly.
gcalctool:
Installed: 5.30.0.is.5.28.2-0ubuntu2
Candidate: 5.30.0.is.5.28.2-0ubuntu2
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Steps to reproduce:
Run "gconftool --solve 'tanh 0.1'". It will print 0.549833997,
although the actual answer is 0.099667995. This is also repeatable
using the graphical calculator interface.
This has been fixed in Debian (see http://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=604032) and Natty, but it's still a problem in
Lucid. Can you please add the patch to Lucid and SRU this? It's a
very simple patch, and it's pretty bad to have the default calculator
in gnome give incorrect answers.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions
Follow ups
-
[Bug 871988] Re: tanh function returns incorrect results
From: Launchpad Bug Tracker, 2011-11-24
-
[Bug 871988] Re: tanh function returns incorrect results
From: Jean-Baptiste Lallement, 2011-11-16
-
[Bug 871988] Re: tanh function returns incorrect results
From: Steve Atwell, 2011-11-16
-
[Bug 871988] Re: tanh function returns incorrect results
From: Martin Pitt, 2011-11-16
-
[Bug 871988] Re: tanh function returns incorrect results
From: Launchpad Bug Tracker, 2011-11-16
-
[Bug 871988] Re: tanh function returns incorrect results
From: Sebastien Bacher, 2011-11-15
-
[Bug 871988] Re: tanh function returns incorrect results
From: Sebastien Bacher, 2011-10-24
-
[Bug 871988] Re: tanh function returns incorrect results
From: Steve Atwell, 2011-10-24
-
[Bug 871988] Re: tanh function returns incorrect results
From: Robert Roth, 2011-10-22
-
[Bug 871988] Re: tanh function returns incorrect results
From: Bug Watch Updater, 2011-10-11
-
[Bug 871988] Re: tanh function returns incorrect results
From: Steve Atwell, 2011-10-10
-
[Bug 871988] [NEW] tanh function returns incorrect results
From: Steve Atwell, 2011-10-10
References