unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Peter Bex <Peter.Bex@xs4all.nl>
To: Andy Wingo <wingo@pobox.com>
Cc: Ian Price <ianprice90@googlemail.com>, 11887@debbugs.gnu.org
Subject: bug#11887: string->number edge cases
Date: Tue, 5 Mar 2013 20:06:33 +0100	[thread overview]
Message-ID: <20130305190633.GI4379@frohike.xs4all.nl> (raw)
In-Reply-To: <87txopyk9i.fsf@pobox.com>

On Tue, Mar 05, 2013 at 03:49:13PM +0100, Andy Wingo wrote:
> Hi Ian,
> 
> On Mon 09 Jul 2012 14:29, Ian Price <ianprice90@googlemail.com> writes:
> 
> > PARSE ERROR         ("+InF.0" +inf.0 "+inf.0" "+Inf.0") => #f
> > PARSE ERROR         ("-iNF.0" -inf.0 "-inf.0" "-Inf.0") => #f
> > PARSE ERROR         ("+NAN.0" +nan.0 "+nan.0" "+NaN.0") => #f
> 
> These are not errors.  +NAN.0 is not even not a number :)

I double-checked, but in the upcoming R7RS it is (see 7.1, paragraph 2 of
draft 7).  It looks like R6RS was case-sensitive in its numerical syntax
and +NAN.0 is disallowed by it.

Cheers,
Peter
-- 
http://www.more-magic.net





  parent reply	other threads:[~2013-03-05 19:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09 12:29 bug#11887: string->number edge cases Ian Price
2013-03-05 14:49 ` Andy Wingo
2013-03-05 19:04   ` Mark H Weaver
2013-03-05 19:14     ` Peter Bex
2013-03-06 18:11       ` Mark H Weaver
2013-03-06 18:15       ` bug#11887: [PATCH] Improve standards conformance of string->number (was Re: bug#11887: string->number edge cases) Mark H Weaver
2013-03-07 20:47         ` Mark H Weaver
2013-03-05 19:06   ` Peter Bex [this message]
     [not found] <mailman.1167569.1362509701.854.bug-guile@gnu.org>
2013-03-05 20:33 ` bug#11887: string->number edge cases Daniel Llorens
2013-03-06 16:55   ` Mark H Weaver
2013-03-06 17:11     ` Daniel Llorens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130305190633.GI4379@frohike.xs4all.nl \
    --to=peter.bex@xs4all.nl \
    --cc=11887@debbugs.gnu.org \
    --cc=ianprice90@googlemail.com \
    --cc=wingo@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).