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 KAA09334; Fri, 11 Jan 2002 10:48:23 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA09652 for caml-list@pauillac.inria.fr; Fri, 11 Jan 2002 10:48:23 +0100 (MET) 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 TAA21843 for ; Thu, 10 Jan 2002 19:25:33 +0100 (MET) Received: from julie.univ-savoie.fr (univax.univ-savoie.fr [193.48.120.32]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0AIPWb12843; Thu, 10 Jan 2002 19:25:32 +0100 (MET) Received: from post.bourget.univ-savoie.fr (post.bourget.univ-savoie.fr [193.48.120.73]) by julie.univ-savoie.fr (8.9.3/jtpda-5.3.3) with ESMTP id TAA09101 ; Thu, 10 Jan 2002 19:25:26 +0100 (CET) Received: from univ-savoie.fr (www.lama.univ-savoie.fr [193.48.123.134]) by post.bourget.univ-savoie.fr (8.12.0.Beta7/jtpda-5.3.3) with ESMTP id g0AIPKZm027161 ; Thu, 10 Jan 2002 19:25:20 +0100 Message-ID: <3C3DDC97.D5C26779@univ-savoie.fr> Date: Thu, 10 Jan 2002 19:25:27 +0100 From: Christophe Raffalli X-Mailer: Mozilla 4.77 [fr] (X11; U; Linux 2.2.16-9mdksmp i686) X-Accept-Language: en MIME-Version: 1.0 To: Xavier Leroy CC: caml-list@inria.fr Subject: [Caml-list] Float and OCaml C interface References: <20020104144617.G941@pauillac.inria.fr> <20020110185619.A20606@pauillac.inria.fr> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Is it possible to call from OCaml a C function of type double f(double,double,double) without packing and unpacking the double when using the native code compiler ? In other word, is the unboxing optimization of floats available to external C function ? another question, I use C because I want dynamic linking with native compilation (I want the dynamically loaded code to be native too). Is it possible to implement that for OCaml ? -- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr