[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Gcl-devel] RE: GCL bugs (decode-float, rationalize, expt)
From: |
Stavros Macrakis |
Subject: |
RE: [Gcl-devel] RE: GCL bugs (decode-float, rationalize, expt) |
Date: |
Tue, 7 Jan 2003 08:27:16 -0500 |
Camm,
That was a quick fix! Thanks! What turned out to be the problem?
> ;; although the following is correct code in that it approximates the
> ;; x to within eps, it does not preserve (eql (float (rationalize x)
x) x)
> ;; since the test for eql is more strict than the float-epsilon
I agree that the spec for rationalize is ambiguous, and making it behave
better is not high priority. But the comment in numlib.lsp doesn't make
sense, because (float (rationalize x)) should be *precisely* equal to
x -- I'm afraid I can't look at the code in more detail right now.
Anyway, this is not a high priority.
Thanks again!
-s
- [Gcl-devel] Re: GCL bugs (decode-float, rationalize, expt), Camm Maguire, 2003/01/03
- [Gcl-devel] RE: GCL bugs (decode-float, rationalize, expt), Stavros Macrakis, 2003/01/03
- [Gcl-devel] Re: GCL bugs (decode-float, rationalize, expt), Raymond Toy, 2003/01/04
- Re: [Gcl-devel] RE: GCL bugs (decode-float, rationalize, expt), Camm Maguire, 2003/01/07
- RE: [Gcl-devel] RE: GCL bugs (decode-float, rationalize, expt), Stavros Macrakis, 2003/01/07
- Re: [Gcl-devel] RE: GCL bugs (decode-float, rationalize, expt), Camm Maguire, 2003/01/09
- Re: [Gcl-devel] RE: GCL bugs (decode-float, rationalize, expt), Camm Maguire, 2003/01/12
[Gcl-devel] RE: GCL bugs (decode-float, rationalize, expt), Mike Thomas, 2003/01/05