GNU bug report logs - #18932
string->number errors on e.g. "1e400xyz"

Previous Next

Package: guile;

Reported by: taylanbayirli <at> gmail.com ("Taylan Ulrich Bayırlı/Kammer")

Date: Mon, 3 Nov 2014 09:22:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Andy Wingo <wingo <at> pobox.com>
To: 18932 <at> debbugs.gnu.org
Subject: bug#18932: [Anand Mohanadoss] symbol printing problem
Date: Mon, 08 Aug 2016 22:35:55 +0200
[Message part 1 (message/rfc822, inline)]
From: Anand Mohanadoss <anand108 <at> gmail.com>
To: guile-user <at> gnu.org
Subject: symbol printing problem
Date: Mon, 8 Aug 2016 18:04:45 +0530
Hi,

We observed the following with guile 2.0.11 -

scheme@(guile-user)> (define sym '912828S7912810RS)
While reading expression:
ERROR: In procedure string->number: Value out of range: 7912810

Is this expected?  Do we need to enable any read-options?  If this is
expected, it appears that if we are creating symbols from random data, we
need to do a symbol->string before printing it.  Is this the recommendation
or should we do something else?

Thank you!
Anand




This bug report was last modified 1 year and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.