gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Re: GCL netbsd/alpha


From: Camm Maguire
Subject: Re: [Gcl-devel] Re: GCL netbsd/alpha
Date: 11 Oct 2003 14:19:05 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

greetings!

Some weird floating point errors.  compiled with -mieee, which is
required on debian alpha, but the following persists:


In gdb:

Breakpoint 3, make_shortfloat (f=Erroneous arithmetic operation.
) at number.c:148
148     {

The code:

object
make_shortfloat(double f)
{
        object x;

        if (f == (shortfloat)0.0)
                return(shortfloat_zero);
        x = alloc_object(t_shortfloat);
        sf(x) = (shortfloat)f;
        return(x);
}

The call:

            make_constant("LEAST-POSITIVE-SHORT-FLOAT",
1395                          make_shortfloat(smallest_float));
1396

can't a float be cast to a double in a function call?  Do you know of
a fix?

Take care,


Lord Isildur <address@hidden> writes:

> On Fri, 10 Oct 2003, Camm Maguire wrote:
> > missing x libraries -- cannot compile xgcl
> 
> also, the X libraries in netbsd are in /usr/lib/X11 . It should be pretty much
> clean Xfree, from there on.
> 
> Isildur
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

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