unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Dr William Bland <wjb@abstractnonsense.com>
Subject: Bug in Guile
Date: Tue, 11 Feb 2003 18:18:28 +0000	[thread overview]
Message-ID: <20030211181828.A29605@ns.jfreebies.com> (raw)
In-Reply-To: <87k7g6g5no.fsf@blarg.net>; from offby1@blarg.net on Tue, Feb 11, 2003 at 08:10:03AM -0800

I have found what appears to be a bug in Guile's reading of large
integers.  If I try the expression in the email included below in Guile
1.4, I get +#.#.  This has also been tried on Guile 1.6.2 and that gives
an error (see the email below).

Best wishes,
		Bill.


On Tue, Feb 11, 2003 at 08:10:03AM -0800, Eric Hanchrow wrote:
> 
> You, sir, have found a bug.  Please report it!
> 
> Here's what I see with guile 1.6.2:
> 
>     guile> (sqrt 20740119327258723760276023509063017138455993606274883526731955113241109007354362374128996096291046353572306742110305456946824862203867115042369878729703475765112280167498189046437794602966168812419423365196979669431929588951126804648743029387833666031765734337165949634731375592471670294246180877815104812674626967450097045005117546657068700545263064105024888769118032059917845867653040419404003684559882509195398630922824050405379620513589699993980205694266973236095772153476388267418476533663512746243310317853861946430053072890502949319703765023792161144942611323629444409600173894963797156859916567288947565058003)
>     standard input:104:1: In expression (sqrt 2074011932725872376027602350906301713845599360627488352673195511324110900735436237412899609629104635357230674211030545694682486220386711504236987872970347576511228016749818904643779460296616881241942336519697966943192958895112680464874302938783366603176573433716594963473137559247167029424618087781510481267462696745009704500511754665706870054526306410502488876911803205991784586765304041940400368455988250919539863092282405040537962051358969999398020569426697323609577215347638826741847653366351274624 3310317853861946430053072890502949319703765023792161144942611323629444409600173894963797156859916567288947565058003):
>     standard input:104:1: Wrong number of arguments to #<procedure sqrt (z)>
>     ABORT: (wrong-number-of-args)
> 
> Note that it's broken the big number into two pieces by inserting a
> space.
> 

-- 
Dr. William Bland.                          Computer Programmer, UK.
www.abstractnonsense.com


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


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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <pan.2003.02.10.18.44.40.803361@abstractnonsense.com>
     [not found] ` <87hebbonef.fsf@blarg.net>
     [not found]   ` <20030211102013.A28633@ns.jfreebies.com>
     [not found]     ` <87k7g6g5no.fsf@blarg.net>
2003-02-11 18:18       ` Dr William Bland [this message]
2003-04-12  0:55         ` Bug in Guile Rob Browning

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=20030211181828.A29605@ns.jfreebies.com \
    --to=wjb@abstractnonsense.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).