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 WAA06664; Mon, 21 Jul 2003 22:26:02 +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 WAA30012 for ; Mon, 21 Jul 2003 22:26:01 +0200 (MET DST) Received: from walnut.he.net (walnut.he.net [64.71.137.114]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h6LKQ0f03649 for ; Mon, 21 Jul 2003 22:26:00 +0200 (MET DST) Received: from localhost (kmacy@localhost) by walnut.he.net (8.8.6p2003-03-31/8.8.2) with ESMTP id NAA20882; Mon, 21 Jul 2003 13:26:03 -0700 Date: Mon, 21 Jul 2003 13:26:03 -0700 (PDT) From: Kip Macy X-Sender: kmacy@walnut.he.net To: Jung Woon Ho cc: caml-list@inria.fr Subject: Re: [Caml-list] Passing a double from C to ocaml In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: caml-list@inria.fr X-Spam: no; 0.00; kip:99 caml-list:01 passing:01 jung:99 bug:01 faq:01 beginner's:01 beginners:01 bin:01 caml-bugs:01 ocaml:01 caml:01 groups:01 float:02 wrote:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Ocaml "float" == C "double" On Mon, 21 Jul 2003, Jung Woon Ho wrote: > > 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 > ------------------- 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