Change History (6)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Summary: | bc-3.3.1 → bc-3.3.2 |
---|
Now 3.3.2
This is a production release that fixes a divide-by-zero bug in `root()` in the [extended math library][16]. All previous versions with `root()` have the bug.
comment:4 by , 4 years ago
# 3.3.3
This is a production release with one tweak and fixes for manuals.
The tweak is that length(0)
returns 1
instead of 0
. In 3.3.1
, I changed
it so length(0.x)
, where x
could be any number of digits, returned the
scale
, but length(0)
still returned 0
because I believe that 0
has 0
significant digits.
After request of FreeBSD and considering the arguments of a mathematician,
compatibility with other bc
's, and the expectations of users, I decided to
make the change.
The fixes for manuals fixed a bug where --
was rendered as -
.
Note:
See TracTickets
for help on using tickets.
# 3.3.1
This is a production release that fixes a bug.
The bug was in the reporting of number length when the value was 0.