From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.9 required=5.0 tests=DNS_FROM_RFC_ABUSE, HTML_MESSAGE,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 24E58BC68 for ; Mon, 16 Oct 2006 17:44:02 +0200 (CEST) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id k9GFi18Q024528 for ; Mon, 16 Oct 2006 17:44:01 +0200 Received: by wx-out-0506.google.com with SMTP id s6so1694160wxc for ; Mon, 16 Oct 2006 08:44:00 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=EfJxXQaMexSwYh01azLpgrNM6rwo0ZDzOnflX5+vs5kgwnKyUbeFJ+5oECWEwWTJh+u6e1jfgiWYlMZ25PXFal0b/xscmMwhyMT1N8Nkt0m31nOBs/26X/1IpebVHgG3gWrxnoencX7KP+dvFkBLA5ZUV46pJ6DMUUYbb/Z0Ukw= Received: by 10.90.50.1 with SMTP id x1mr3689389agx; Mon, 16 Oct 2006 08:44:00 -0700 (PDT) Received: by 10.90.92.6 with HTTP; Mon, 16 Oct 2006 08:44:00 -0700 (PDT) Message-ID: Date: Mon, 16 Oct 2006 17:44:00 +0200 From: "Maurizio Colucci" To: caml-list Subject: Reading 16 bit floats from stream? In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_40079_14130669.1161013440443" References: X-j-chkmail-Score: MSGID : 4533A8C1.001 on discorde : j-chkmail score : X : 0/20 1 X-Miltered: at discorde with ID 4533A8C1.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; binary:01 parsing:01 binary:01 parsing:01 floats:02 floats:02 stream:04 bits:04 bits:04 file:08 file:08 curious:09 curious:09 bit:10 game:12 ------=_Part_40079_14130669.1161013440443 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I need to read a sequence of single precision floats (16 bits) from a binary file. How can I do that? In case you are curious, I am parsing an MD2 file for a game. :-) Thanks a lot for any help, Maurizio ------=_Part_40079_14130669.1161013440443 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I need to read a sequence of single precision floats (16 bits) from a binary file. How can I do that?

In case you are curious, I am parsing an MD2 file for a game. :-)

Thanks a lot for any help,

Maurizio


------=_Part_40079_14130669.1161013440443--