freebsd-nq/usr.bin/dc
Alan Somers 0d119bab38 dc(1): fix modulo operations with fractional inputs
Our dc(1) has never correctly calculated remainders with fractional inputs.
Both bmod and bdivmod seem to have copy/pasted code from bdiv, which results
in the remainder having the wrong output scale.

PR:		162495
Reported by:	anonymous
Reviewed by:	pfg
Differential Revision:	https://reviews.freebsd.org/D13390
2017-12-07 02:08:55 +00:00
..
tests
bcode.c
bcode.h
dc.1
dc.c
extern.h
inout.c
Makefile
Makefile.depend
mem.c
stack.c