chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] can not coerce inexact literal - coerced inexact lit


From: Graham Fawcett
Subject: Re: [Chicken-users] can not coerce inexact literal - coerced inexact literal - benchmarks game
Date: Wed, 30 Jan 2008 22:35:52 -0500

Hi folks,

Here's a revised nbody program (based on the current Shootout version) that actually compiles and runs. (Did the current version *ever* compile in Chicken?) With Kon's compiler flags, it does N=2e7 in 270 seconds on my crusty old laptop.

$ ./nbody 1000
-0.169075164
-0.169087605

$ time ./nbody 20000000
-0.169075164
-0.169031665

real    4m29.065s
user    4m19.208s
sys    0m0.328s

Isaac, I don't know the shootout rules, but you're welcome to use this if you want it.

Graham

Attachment: chicken-nbody.scm
Description: Text Data


reply via email to

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