From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA23280 for caml-redistribution; Thu, 9 Dec 1999 21:29:48 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA28995 for ; Thu, 9 Dec 1999 14:07:25 +0100 (MET) Received: from cepheus.azstarnet.com (cepheus.azstarnet.com [169.197.56.195]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id OAA00937 for ; Thu, 9 Dec 1999 14:07:21 +0100 (MET) Received: from dylan (dialup03ip118.tus.azstarnet.com [169.197.31.118]) by cepheus.azstarnet.com (8.9.3+blt.Beta0/8.9.3) with SMTP id GAA11764 for ; Thu, 9 Dec 1999 06:07:12 -0700 (MST) X-Sent-via: StarNet http://www.azstarnet.com/ Message-ID: <000f01bf4246$81914b30$210148bf@dylan> From: "David McClain" To: Subject: Plea for inline expansion of transcendentals. Date: Thu, 9 Dec 1999 06:08:34 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: weis Since I do a great deal of bluk math processing, it would sure be nice if many of the simpler transcendental functions could be inlined by OCAMLOPT. I'm speaking primarily of round_to_int, sin, cos, tan, asin, acos, atan, atan2, log, exp, sqrt, etc. I modified the 2.02 compiler to support these and found that the necessary changes were really quite easy to make. But I don't look forward to making these same mods every time a new compiler is released. Of course I am working on Pentium class machines which have these functions available in hardware. Other arhitectures might not be so kind in this regard... David McClain