Subject: bin/10407: dc doesn't do % correctly for negative first argument
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 06/21/2000 10:37:14
>Number:         10407
>Category:       bin
>Synopsis:       dc doesn't do % correctly for negative first argument
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 21 10:38:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Wiz
>Release:        NetBSD-1.4.2
>Organization:
Thomas Klausner - wiz@danbala.tuwien.ac.at
I wanted to emulate some of my heroes, but I didn't know their
op-codes. --dowe
>Environment:
	
System: NetBSD danbala 1.4.2 NetBSD 1.4.2 (DANBALA) #0: Wed Jan 1 04:30:28 MET 1997 root@:/usr/src/sys/arch/i386/compile/DANBALA i386
>Description:
dc doesn't do % correctly for negative first argument:
-2 6 % p 
results in 2, but should give 4.
>How-To-Repeat:
dc
-2 6 % p
>Fix:
none provided.
>Release-Note:
>Audit-Trail:
>Unformatted: