Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Passing a double from C to ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Kip Macy <kmacy@f...>
Subject: Re: [Caml-list] Passing a double from C to ocaml
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