From: Christian Kellermann <[email protected]> Subject: Re: [Chicken-users] tinyclos on windows Date: Thu, 23 Dec 2010 19:59:50 +0100
> Hi! > > * Hans Nowak <[email protected]> [101223 17:11]: >> 2010/12/23 Matt Welland <[email protected]>: >> > C:\Users\matt>csi >> > >> > CHICKEN >> > (c)2008-2010 The Chicken Team >> > (c)2000-2007 Felix L. Winkelmann >> > Version 4.6.0 >> > windows-mingw32-x86 [ manyargs dload ptables ] >> > compiled Wed 12/22/2010 on hermes (MinGW) >> > >> > #;1> (use tinyclos) >> > ; loading c:/chicken/lib/chicken/5/tinyclos.import.so ... >> > ; loading c:/chicken/lib/chicken/5/scheme.import.so ... >> > ; loading c:/chicken/lib/chicken/5/chicken.import.so ... >> > ; loading c:/chicken/lib/chicken/5/foreign.import.so ... >> > ; loading c:/chicken/lib/chicken/5/extras.import.so ... >> > ; loading c:/chicken/lib/chicken/5/data-structures.import.so ... >> > ; loading c:/chicken/lib/chicken/5/lolevel.import.so ... >> > ; loading c:/chicken/lib/chicken/5/srfi-1.import.so ... >> > ; loading c:/chicken/lib/chicken/5/tinyclos.so ... >> > >> > Error: (inexact->exact) inexact number cannot be represented as an exact >> > number: >> > 1293115.331 >> >> I'm getting the same error, using Chicken 4.6.0 on Mac OS X 10.5. >> >> Upon successive runs, the values I got were 1293120.171, 1293120.18, >> and 1293120.198. Because it goes up a bit every time, I wonder if it >> has anything to do with the conversion of a date/time value, or >> something similar. > > Can you try this with at least 4.6.1? It should work then although > I am not sure the tinyclos egg is still in a usable shape. I would > love to hear about difficulties with the transition to coops! Can > you show me some code that is hard to translate? Maybe there is a > cure for your pains there? > I can't reproduce this myself (4.6.4). Trying the latest tinyclos is a good idea. A sure way to pinpoint the problem is to use a debug-build of chicken (DEBUGBUILD=1) and do: chicken-install -r tinyclos cd tinyclos chicken-install -k gdb csi b C_dbg_hook run (use tinyclos) bt cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
