Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#4825 closed task (fixed)


Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 11.0
Component: Book Version: SVN
Severity: normal Keywords:


New point version.

Change History (6)

comment:1 by Bruce Dubbs, 3 years ago

# 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.

comment:2 by Xi Ruoyao, 3 years ago

Summary: bc-3.3.1bc-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:3 by Bruce Dubbs, 3 years ago

Summary: bc-3.3.2bc-3.3.3

Now version 3.3.3.

comment:4 by Bruce Dubbs, 3 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 -.

comment:5 by Bruce Dubbs, 3 years ago

Resolution: fixed
Status: newclosed

Fixed at revision 12164.

comment:6 by Bruce Dubbs, 2 years ago

Milestone: 10.211.0

Milestone renamed

Note: See TracTickets for help on using tickets.