[Bug 221869] bc doesn't always convert ibase to obase correctly
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Aug 27 23:07:46 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221869
Bug ID: 221869
Summary: bc doesn't always convert ibase to obase correctly
Product: Base System
Version: 11.1-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: edgar at pettijohn-web.com
While using bc to convert from binary to decimal I encountered this.
edgar at FreeBSD$ bc
ibase=2
obase=10
1111
1111
I would expect 1111(base 2) to convert to 15(base 10).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list