unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
Cc: beebe@math.utah.edu
Subject: Re: (sqrt long-digit-string)
Date: Tue, 11 Feb 2003 11:25:44 -0700 (MST)	[thread overview]
Message-ID: <CMM.0.92.0.1044987944.beebe@suncore.math.utah.edu> (raw)

I just tried the posted example of (sqrt long-digit-string) with
guile 1.6.3 on Sun Solaris and got similar scanner errors.

I then chopped off trailing digits and made repeated experiments.
With an input line of 256 characters, guile reports a reasonable
numeric answer.   With 257 characters, it goes into a wait state.
With 258 character, it reports the scanner error.

Evidently, there is some sloppy, and unreasonably limited, buffer
handling going on here.  Lisp programs should be able to read tokens
of arbitrary length (limited only by available memory); otherwise,
bignum arithmetic is infeasible.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 581 4148                  -
- University of Utah                    Internet e-mail: beebe@math.utah.edu  -
- Department of Mathematics, 110 LCB        beebe@acm.org  beebe@computer.org -
- 155 S 1400 E RM 233                       beebe@ieee.org                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


             reply	other threads:[~2003-02-11 18:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-11 18:25 Nelson H. F. Beebe [this message]
2003-02-12  5:35 ` (sqrt long-digit-string) Dale P. Smith

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=CMM.0.92.0.1044987944.beebe@suncore.math.utah.edu \
    --to=beebe@math.utah.edu \
    /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).