← Back to team overview

desktop-packages team mailing list archive

[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 <seb128@xxxxxxxxxx>   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 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:
  Fix Released
Status in “gcalctool” source package in Lucid:
  Fix Released
Status in “gcalctool” package in Debian:
  Fix Released

Bug description:
  gcalctool evaluates the tanh function incorrectly.

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcalctool/+bug/871988/+subscriptions


References