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 UAA29247; Mon, 21 Jul 2003 20:32:43 +0200 (MET DST) 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 UAA30971 for ; Mon, 21 Jul 2003 20:32:42 +0200 (MET DST) Received: from hotmail.com (bay1-f96.bay1.hotmail.com [65.54.245.96]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6LIWff28322 for ; Mon, 21 Jul 2003 20:32:41 +0200 (MET DST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 21 Jul 2003 11:32:40 -0700 Received: from 128.2.74.135 by by1fd.bay1.hotmail.msn.com with HTTP; Mon, 21 Jul 2003 18:32:39 GMT X-Originating-IP: [128.2.74.135] X-Originating-Email: [unosoft@hotmail.com] From: "Jung Woon Ho" To: caml-list@inria.fr Subject: [Caml-list] Passing a double from C to ocaml Date: Mon, 21 Jul 2003 18:32:39 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Jul 2003 18:32:40.0088 (UTC) FILETIME=[77500180:01C34FB6] X-Loop: caml-list@inria.fr X-Spam: no; 0.00; jung:99 passing:01 ocaml:01 data:03 equivalent:05 type:07 i'm:07 precision:09 hotmail:90 U4:88 convert:12 loosing:12 protection:85 there:16 spam:83 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Is there any way.. that I can pass a double from C to ocaml without loosing precision? What is the data type that is equivalent to double in Ocaml. I'm trying to get a double from a C-function and convert it to "Num" in Ocaml. Thank you. _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ------------------- 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