[info-mcl] RMCL 5.2 on Snow Leopard: floating point issues
binghe.lisp at gmail.com
Thu Oct 15 22:26:21 CDT 2009
Hmmm ... I'm also in Snow Leopard using RMCL 5.2, but your tests are
all fine here:
Welcome to Macintosh Common Lisp Version 5.2!
? (setq *read-default-float-format* 'short-float)
? (float 3)
? (+ 4.5 5.5)
This is Mac OS X 10.6.1 on Intel Core 2 Duo 2.66GHz (MacBookPro5,2). I
just want to clarify that not everyone met the same issue as you (I'm
sorry for that).
Chun Tian (binghe)
在 2009-10-16，4:38， Alexander Repenning 写道：
> getting closer to WHAT is happening but not WHY. Keep in mind this
> worked on Leopard but not Snow Leopard. I would assume this is has
> something to do with the new version of Rosetta. Here are some
> stunning listener interactions (this is in a Listerner 1 process
> "initial" breaking after the error occurring for the first time
> resulting in float /0 errors):
> 1 > 3
> ;; OK
> 1 > 3.0
> ;; HUH!!!
> 1 > (setq *read-default-float-format* 'short-float)
> 1 > 3
> 1 > 3.3
> 1 > (float 3)
> 1 > (+ 4.5 5.5)
> Looks as if ANY kind of float returned is a 0.0
> Meanwhile, in the regular listerner things are still working as
> I am stumped at the moment and would appreciate any pointer or even
> wild guesses on how RMCL could possibly enter this state.
> So far I have only seen the problem in process initial but I am not
> sure if this is relevant.
> all the best, Alex
> On Oct 14, 2009, at 2:57 PM, Terje Norderhaug wrote:
>> On Oct 14, 2009, at 9:15 AM, Alexander Repenning wrote:
>>> What kinds of issues do people have out there with RMCL 5.2 and
>>> Snow Leopard (OS X, 10.6.1)?
>>> Things almost work here but there are some strange floating point
>>> issues (with shorts).
>>> At least we get further, ironically, with RCML 5.2 than CCL 1.3
>>> which immediately quits. What is the version of CCL one should use
>>> to work under OS X 10.6.1?
>> Are these the same as the problems discussed in issue 8 at
>> Gary made some changes to the floating point functionality, but come
>> to think about it, these changes may not have been propagated into
>> the distribution yet:
>> -- Terje
>> info-mcl mailing list
>> info-mcl at clozure.com
> Prof. Alexander Repenning
> University of Colorado
> Computer Science Department
> Boulder, CO 80309-430
> vCard: http://www.cs.colorado.edu/~ralex/AlexanderRepenning.vcf
> info-mcl mailing list
> info-mcl at clozure.com
More information about the info-mcl