[Bug 67408] Incorrectly rounded pi constant
Malcolm Parsons
malcolm.parsons at gmail.com
Sat Oct 21 14:57:58 UTC 2006
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
More information about the desktop-bugs
mailing list