Re: [Chicken-users] IEEE float arithmetic

2006-06-19 Thread felix winkelmann
On 6/20/06, Thomas Chust <[EMAIL PROTECTED]> wrote: Maybe something like that could be included in the library for completeness' sake. Or we should create an IEEE arithmetic egg (are there more functions than / in CHICKEN that are not IEEE compliant?). But I would really vote against modifying t

Re: [Chicken-users] IEEE float arithmetic

2006-06-19 Thread Thomas Chust
On Tue, 20 Jun 2006, felix winkelmann wrote: On 6/19/06, John Cowan <[EMAIL PROTECTED]> wrote: [...] 2) Remove the divide-by-zero trap in inexact division, and allow the IEEE results to appear openly. This will mean that (/ 1.0 0.0) will evaluate to Infinity.0, (/ -1.0 0.0) to -Infinity.0,

Re: [Chicken-users] IEEE float arithmetic

2006-06-19 Thread felix winkelmann
On 6/19/06, John Cowan <[EMAIL PROTECTED]> wrote: I'd like to have Chicken inexact numbers play nicely as IEEE floats, since on all practical platforms they *are* IEEE floats. This involves the following modifications. 1) Allow the reader to understand Infinity.0, -Infinity.0, and NaN.0 . These

[Chicken-users] What should (POINTER VOID) be in opengl?

2006-06-19 Thread Matthew Welland
I'm trying to get tesselation to work and getting nowhere fast. My callbacks are not being called and I suspect I'm off target in more than one place. Anyhow for starters, what would I put for (POINTER VOID) in the following: [procedure] (glu:TessBeginPolygon (POINTER GLUTESSELATOR) (POINTER VOI

[Chicken-users] GeoIP egg for Chicken

2006-06-19 Thread Arto Bendiken
I've completed an initial version of my first egg for Chicken: a simple binding to the GeoIP C API library, providing IP-address-based geolocation. The egg and eggdoc are available at: http://bendiken.net/code/chicken/eggs/geoip.egg http://bendiken.net/code/chicken/eggs/geoip/geoip.html This is

Re: [Chicken-users] passing a large unsigned-int to a foreign-lambda?

2006-06-19 Thread Zbigniew
Try "unsigned-integer32" instead. On 6/19/06, Graham Fawcett <[EMAIL PROTECTED]> wrote: Hi folks, I have a foreign-lambda like this: (define foo (foreign-lambda* int ((unsigned-int32 flags)) ...) Since it's a uint32, one possible value for "flags" is 2^31. But I cannot call the procedure w

[Chicken-users] passing a large unsigned-int to a foreign-lambda?

2006-06-19 Thread Graham Fawcett
Hi folks, I have a foreign-lambda like this: (define foo (foreign-lambda* int ((unsigned-int32 flags)) ...) Since it's a uint32, one possible value for "flags" is 2^31. But I cannot call the procedure with this value. (foo (arithmetic-shift 1 31)) returns an error because the argument is

[Chicken-users] IEEE float arithmetic

2006-06-19 Thread John Cowan
I'd like to have Chicken inexact numbers play nicely as IEEE floats, since on all practical platforms they *are* IEEE floats. This involves the following modifications. 1) Allow the reader to understand Infinity.0, -Infinity.0, and NaN.0 . These should be defined in the reader as numeric literals

[Chicken-users] chicken.egg builds on Cygwin

2006-06-19 Thread John Cowan
Well, almost. Doing "chicken-setup chicken" with the current (2.320) egg downloads, configures, and builds fine until the "make install" process tries to overwrite chicken-setup.exe, which cannot be done because it is currently running. I recovered by going into the chicken.egg.dir directory and

Re: [Chicken-users] Darcs pull from galinha...?

2006-06-19 Thread Mario Domenech Goulart
Hello Kon, On Mon, 19 Jun 2006 06:25:20 -0700 Kon Lovett <[EMAIL PROTECTED]> wrote: > Has something chgd w/ the repository that rqrs intervention on my > side? Yes, some things have changed, but they should not require your intervention. Can you please pull using port 8081, which is the port sp

Re: [Chicken-users] Darcs pull from galinha...?

2006-06-19 Thread felix winkelmann
On 6/19/06, Kon Lovett <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Has something chgd w/ the repository that rqrs intervention on my side? A 'pull' attempt gives: darcs failed: Can't understand repository format: Edit: chicken/_darcs/format ...lots of html & Can't

[Chicken-users] Darcs pull from galinha...?

2006-06-19 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Has something chgd w/ the repository that rqrs intervention on my side? A 'pull' attempt gives: darcs failed: Can't understand repository format: Edit: chicken/_darcs/formatequiv="Content-Type" content="text/html; charset=iso-8859-1"> ...lots

Re: [Chicken-users] Re: let-location

2006-06-19 Thread felix winkelmann
On 6/14/06, Nico Amtsberg <[EMAIL PROTECTED]> wrote: But the error still seems to be present. With chicken-2.318, which is the latest I get from svn, the sample program fails with an assertion in runtime.c at line 3278 in update_locative_table which seems to be the cause of the error as you desc