SVNews r326652

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-12-07 02:08:55 - r326652 by asomers (asomers)

Complete list of files affected by revision r326652:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/usr.bin/dc/bcode.c  
  History   Contents   Diff   MODIFY   /head/usr.bin/dc/dc.1  
  History   Contents   Diff   MODIFY   /head/usr.bin/dc/tests/Makefile  
  History   Contents     ADD   /head/usr.bin/dc/tests/  
  History   Contents   Diff   MODIFY   /head/usr.bin/dc/tests/  

Commit message:

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:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 10 ms, 5 files printed. Current time is 2018-03-21 22:27:31. All times are in UTC/GMT.