Your message dated Sun, 2 Jun 2013 11:18:04 -0400
with message-id <[email protected]>
and subject line Re: Bug#559432: bc: -6^2 = 36, which is actually wrong (should
be -36)
has caused the Debian Bug report #559432,
regarding bc: wrong operator precedence
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
559432: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559432
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: bc
Version: 1.06.95-2
Severity: normal
bc evaluates under some expressions with the wrong operator precedence:
"-2^2" ==> "4" wrong, should be "-4"
"0-2^2" ==> "-4" correct
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bc depends on:
ii dpkg 1.15.3.1 Debian package management system
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libncurses5 5.7+20090803-2 shared libraries for terminal hand
ii libreadline6 6.0-5 GNU readline and history libraries
bc recommends no packages.
bc suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
tag 559432 wontfix
thanks
Hi Nikolaus,
On Fri, Dec 04, 2009 at 12:24:06PM +0100, Dr. Nikolaus Klepp wrote:
> bc does evaluate signed expressions in wrong order, more precice it
> handles operator precedence wrong under certain conditions:
Since this is the intended behaviour, as per the manpage and the IEEE
Std 1003.1, 2004 Edition specification of bc[0], I'm closing this bug.
Best wishes,
Ryan
[0] http://pubs.opengroup.org/onlinepubs/009604499/utilities/bc.html
--
|_)|_/ Ryan Kavanagh | Debian Developer
| \| \ http://ryanak.ca/ | GPG Key 4A11C97A
signature.asc
Description: Digital signature
--- End Message ---