Public bug reported:
Binary package hint: pi
I'm running Feisty current to the repositories. I installed the package
"pi" and according to its man page:
---
SYNOPSIS
pi [digits]
DESCRIPTION
The pi command prints 100 decimal digits of Archimedes’ constant pi or
a number of digits specified by an integer parameter on the command
line.
---
However, it doesn't quite seem to get the number of digits right.
If I type "pi" it returns:
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148
which is NOT 100 digits, nor to 100 decimal places:
3.
1415926535
8979323846
2643383279
5028841971
6939937510
5820974944
5923078164
0628620899
8628034825
3421170679
82148
so to 105 decimal places or a total of 106 digits.
If you use the option of supplying the number, it gets even weirder:
"pi 1" to "pi 3" returns:
3.1416
"pi 4" to "pi 5" returns:
3.1415927
"pi 6" to "pi 14" returns:
3.141592653589793
etc.
** Affects: cln (Ubuntu)
Importance: Undecided
Status: New
--
"pi" doesn't return a result to the number of places desired
https://bugs.launchpad.net/bugs/128851
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs