guile-user
[Top][All Lists]
Advanced

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

Re: bug in read?


From: dsmich
Subject: Re: bug in read?
Date: Sun, 23 Sep 2007 13:29:16 -0400

---- Andy Wingo <address@hidden> wrote: 
> Hi,
> 
> Since it's a week later now and no one's answered:
> 
> On Mon 17 Sep 2007 23:49, "Luigi Semenzato" <address@hidden> writes:
> 
> > Is this a reader bug?  Hash marks following
> > an integer are interpreted as zeros, and the
> > number is converted to real.
> >
> > guile> (read)
> > 44###
> > 44000.0
> > guile>
> >
> > If this is expected, section 5.5.2.6 (Read Syntax for Numerical Data)
> > should mention it.

This is the syntax for inexact numbers.  See r5rs sections 6.2.4 and 7.1.1

-Dale





reply via email to

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