Package: pi
Version: 1.1.13-2
Severity: normal

pi does not ouput the correct number of specified digits.

Here's the output of pi with a couple of options:

$ pi 5
3.1415927
$ pi 6
3.141592653589793

Whereas you'd expect:

$ pi 5
3.14159
$ pi 6
3.141592


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages pi depends on:
ii  libc6                  2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii  libcln4                1.1.13-2          Class Library for Numbers (C++)
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libgmp3c2              2:4.2.1+dfsg-4    Multiprecision arithmetic library
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3

pi recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to