guile-devel
[Top][All Lists]
Advanced

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

Bug in Guile


From: Dr William Bland
Subject: Bug in Guile
Date: Tue, 11 Feb 2003 18:18:28 +0000
User-agent: Mutt/1.2i

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




reply via email to

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