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 SAA03251; Fri, 2 Aug 2002 18:36:28 +0200 (MET DST) 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 SAA03256 for caml-list@pauillac.inria.fr; Fri, 2 Aug 2002 18:36:27 +0200 (MET DST) 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 NAA05401 for ; Thu, 1 Aug 2002 13:05:17 +0200 (MET DST) Received: from hotmail.com (f186.pav2.hotmail.com [64.4.37.186]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g71B5Gr22211 for ; Thu, 1 Aug 2002 13:05:16 +0200 (MET DST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 1 Aug 2002 04:05:15 -0700 Received: from 132.227.204.54 by pv2fd.pav2.hotmail.msn.com with HTTP; Thu, 01 Aug 2002 11:05:15 GMT X-Originating-IP: [132.227.204.54] From: "polux moon" To: caml-list@inria.fr Subject: [Caml-list] read a float(double) in a file in a binary file Date: Thu, 01 Aug 2002 13:05:15 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 01 Aug 2002 11:05:15.0679 (UTC) FILETIME=[5090C2F0:01C2394B] Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello How can I read a float (double) in a binary format (output of a programe in c ) from a file ? I ve done it for it (read four byte and do some arithmetic) but for float i don t know how to do Thanks _________________________________________________________________ Rejoignez MSN Hotmail, le plus important service de messagerie http://www.hotmail.com/fr ------------------- 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