[cmucl] #93: 4d-324 signals a reader error but shouldn't?

cmucl cmucl-devel at common-lisp.net
Fri Feb 21 16:21:20 UTC 2014


#93: 4d-324 signals a reader error but shouldn't?
--------------------+-------------------------------------------------------
 Reporter:  rtoy    |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  major   |   Milestone:          
Component:  Core    |     Version:  2014-02 
 Keywords:          |  
--------------------+-------------------------------------------------------
 At the repl, 4d-324 throws a reader error.  But the nearest float to
 4d-324 is {{{least-positive-double-float}}} so we should probably return
 that instead of throwing an error.

 But values less than {{{0.5 * least-positive-double-float}}} could be
 rounded to 0, but I think the reader error is still appropriate.  CLHS
 2.3.1.1 says exponents that are out of range should signal a reader error.

-- 
Ticket URL: <http://trac.common-lisp.net/cmucl/ticket/93>
cmucl <http://common-lisp.net/project/cmucl>
Cmucl is a high-performance, free Common Lisp implementation.


More information about the cmucl-ticket mailing list