[cmucl-ticket] Re: #1: prin1 and ~E produce different outputs.

cmucl cmucl-devel at common-lisp.net
Wed Oct 3 21:10:09 UTC 2007


#1: prin1 and ~E produce different outputs.
------------------------+---------------------------------------------------
  Reporter:  anonymous  |       Owner:  rtoy    
      Type:  defect     |      Status:  closed  
  Priority:  minor      |   Milestone:          
 Component:  Core       |     Version:  19c     
Resolution:  fixed      |    Keywords:  printing
------------------------+---------------------------------------------------
Changes (by rtoy):

  * resolution:  => fixed
  * status:  assigned => closed

Comment:

 One particular example is
 {{{
 (format nil "~E" 1.234567890123456789d4)
 "1.2345678901234565d+0"
 }}}

 The right answer is
 {{{
 "1.2345678901234567d+0"
 }}}

 which is what {{{prin1}}} returns.

 This should now be fixed in CVS.

-- 
Ticket URL: <http://trac.common-lisp.net/cmucl/ticket/1>
cmucl <http://common-lisp.net/project/cmucl>
cmucl


More information about the cmucl-ticket mailing list