Re: dc(1) mishandles fractional input in bases other than 10

2017-11-30 Thread kshe
On Tue, 28 Nov 2017 09:52:26 +, Otto Moerbeek wrote: > On Sun, Nov 26, 2017 at 07:51:13PM +, kshe wrote: > > Hi, > > > > The following behaviour seems unacceptable to me. > > > > $ dc -e '16dio .C .C0 f' > > .C0 > > .B > > > > $ dc -e '8dio .3 .30 .300 f' > > .3000 > >

Re: dc(1) mishandles fractional input in bases other than 10

2017-11-28 Thread Otto Moerbeek
On Sun, Nov 26, 2017 at 07:51:13PM +, kshe wrote: > Hi, > > The following behaviour seems unacceptable to me. > > $ dc -e '16dio .C .C0 f' > .C0 > .B > > $ dc -e '8dio .3 .30 .300 f' > .3000 > .275 > .23 > > This bug affects all bases other than

dc(1) mishandles fractional input in bases other than 10

2017-11-26 Thread kshe
Hi, The following behaviour seems unacceptable to me. $ dc -e '16dio .C .C0 f' .C0 .B $ dc -e '8dio .3 .30 .300 f' .3000 .275 .23 This bug affects all bases other than 10 and increasing the scale with the `k' command does not prevent it.