>Number:         162495
>Category:       misc
>Synopsis:       dc -e "5 3 %p 1k 5 3 %p"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 11 22:10:05 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     John Smith
>Release:        9.0-RC1
>Organization:
John Smith Co.
>Environment:
FreeBSD foo 9.0-RC1 FreeBSD 9.0-RC1 #2: Fri Nov  4 21:50:17 EDT 2011     
foo@foo:/usr/obj/usr/src/sys/MYKERNEL  i386
>Description:
/usr/src/usr.bin/dc/

%dc -e "5 3 %p 1k 5 3 %p"
2
.2

Output of the modulo operator is divided by 10(scale) when scale>0.

>From what I tested the bug doesn't appear to happen in bcode.c:bmod(void), it 
>looks like it happens some time after it is called.
>How-To-Repeat:
%dc -e "5 3 %p 1k 5 3 %p"
2
.2
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to