[Bug 871988] Re: tanh function returns incorrect results
This bug was fixed in the package gcalctool - 5.30.0.is.5.28.2-0ubuntu3 --- gcalctool (5.30.0.is.5.28.2-0ubuntu3) lucid-proposed; urgency=low * 03_correct_tanh.patch: git patch to fix tanh calculation (lp: #871988) -- Sebastien Bacher seb...@ubuntu.com Tue, 15 Nov 2011 18:36:47 +0100 ** Changed in: gcalctool (Ubuntu Lucid) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
5.30.0.is.5.28.2-0ubuntu3 fixes the tanh calculation for me. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
** Changed in: gcalctool (Ubuntu Lucid) Status: Triaged = Fix Committed ** Description changed: 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 + 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 + Run gcalctool --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. ** Patch added: diff for the sru update https://bugs.launchpad.net/ubuntu/lucid/+source/gcalctool/+bug/871988/+attachment/2597956/+files/gcalctool.debdiff ** Description changed: 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 gcalctool --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. + Installed: 5.30.0.is.5.28.2-0ubuntu2 + Distributor ID: Ubuntu + Description:Ubuntu 10.04.2 LTS + 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
Hello Steve, or anyone else affected, Accepted gcalctool into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
** Branch linked: lp:ubuntu/lucid-proposed/gcalctool -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
The fix isn't in Lucid. Can you please SRU this for Lucid? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
We will SRU this as time permit which might be after UDS ** Also affects: gcalctool (Ubuntu Lucid) Importance: Undecided Status: New ** Changed in: gcalctool (Ubuntu Lucid) Importance: Undecided = High ** Changed in: gcalctool (Ubuntu Lucid) Status: New = Triaged ** Changed in: gcalctool (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
Thank you for taking the time to report this bug. As this bug has been fixed, and the Oneiric version of gcalctool does return the correct result, I am marking this as Fix Released. ** Changed in: gcalctool (Ubuntu) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
** Changed in: gcalctool (Debian) Status: Unknown = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 871988] Re: tanh function returns incorrect results
Oops, the repro instructions should say: gcalctool --solve 'tanh 0.1' Not gconftool. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/871988 Title: tanh function returns incorrect results To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs