Package: bc
Version: 1.06-19
Severity: normal

scale is not always evaluated it seems:

$ echo "scale=0; 10 * 2.1" | bc
21.0
$ echo "scale=0; ( 10 * 2.1 ) / 1" | bc
21

Shouldn't that yield '21' twice?
I don't quite see a reason for the current behaviour, nor
could a quick look into the docs reveal anything related.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.13
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages bc depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libncurses5                  5.5-3       Shared libraries for terminal hand
ii  libreadline5                 5.1-7       GNU readline and history libraries

bc recommends no packages.

-- debconf-show failed


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

Reply via email to