Error message is not correct for ~@R with 0.

Bug #1967138 reported by SATO shinichi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
New
Undecided
Unassigned

Bug Description

This is not a bug, just a wish list.

The minimum example is below.

(format t "~@R" 0)

debugger invoked on a SIMPLE-ERROR in thread
#<THREAD ...>:
  Number too large to print in Roman numerals: 0

Revision history for this message
Douglas Katzman (dougk) wrote :

Funny- same error message from ECL, ABCL, CMUCL. Reasonable message from CCL and CLISP.
I suppose we should make it "0 is not representable as a Roman numeral"
Also we can extend the range now that Unicode is a thing. A Google search finds Roman numeral tables up to 1 million using the vinculum character (https://unicode-table.com/en/0305/) to multiply the numeral it is combined with by 1000.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.