chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #734: Numbers egg ignores #e and #i


From: Chicken Trac
Subject: [Chicken-janitors] #734: Numbers egg ignores #e and #i
Date: Fri, 02 Dec 2011 08:55:34 -0000

#734: Numbers egg ignores #e and #i
------------------------+---------------------------------------------------
 Reporter:  johnwcowan  |       Owner:       
     Type:  defect      |      Status:  new  
 Priority:  major       |   Milestone:  4.8.0
Component:  unknown     |     Version:  4.7.x
 Keywords:              |  
------------------------+---------------------------------------------------
 `#e` should force the following numeric constant to be interpreted as an
 exact value; `#i` should force the following number to be interpreted as
 an inexact value.  Neither works.

 Note that (in my opinion) `#e` should ''not'' be implemented using
 `exact->inexact`; `#e25.4` should be the same as `254/10` (or 127/5), not
 as `3574732204225331/140737488355328`.  Similarly, `#e1e3000` should be
 the exact integer notated as 1 followed by 3000 zeros.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/734>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]