Public bug reported:

The real value of pi = 3.141592653589793238...
gcalctool thinks pi = 3.141592653
The value has been rounded down, it should have been rounded up.

The value in the source is longer than displayed in the GUI:
./gcalctool/get.c:    init_constant(3, "3.1415926535");          /* pi */
So init_constant() seems to be rounding incorrectly.

The value in the source has also been rounded incorrectly, but that may
not be the problem.

** Affects: gcalctool (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Incorrectly rounded pi constant
https://launchpad.net/bugs/67408

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to