From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA12651; Tue, 21 Jan 2003 14:09:12 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA12502 for ; Tue, 21 Jan 2003 14:09:11 +0100 (MET) Received: from TheWorld.com (pcls4.std.com [199.172.62.106]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h0LD9Ar10754 for ; Tue, 21 Jan 2003 14:09:10 +0100 (MET) Received: from watergate.world.std.com (pool-141-149-175-233.bos.east.verizon.net [141.149.175.233]) by TheWorld.com (8.9.3/8.9.3) with ESMTP id IAA15382 for ; Tue, 21 Jan 2003 08:09:09 -0500 Message-Id: <5.2.0.9.0.20030121080628.068047f0@pop.theWorld.com> X-Sender: chase@pop.theWorld.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 21 Jan 2003 08:09:08 -0500 To: caml-list@inria.fr From: David Chase Subject: Re: Coyote Gulch test in Caml (was Re: [Caml-list] speed ) In-Reply-To: <200301210239.01608.snob@snob.spb.ru> References: <5.2.0.9.0.20030120161510.066e4598@pop.theWorld.com> <200301181749.48295.oleg_inconnu@myrealbox.com> <5.2.0.9.0.20030120161510.066e4598@pop.theWorld.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk At 02:39 AM 1/21/2003 +0500, Nickolay Semyonov-Kolchin wrote: >Speed and accuracy are different things. Matlab class software need accuracy, >most computer games need speed. This is the reason of "-ffast-math" key in >gcc. Ocaml lacks such key, and always produce ineffecient floating-point >code. But how much accuracy do computer games need? First-class implementations of sin/cos in software are quite fast, indeed faster (in certain non-trivial ranges) than the hardware itself. If it happens that you could determine how *little* accuracy you actually need, it could go faster yet :-). David Chase ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners