Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: nadji@noos.fr
To: caml-list@inria.fr
Subject: [Fwd: [Caml-list] read a float(double)  in a file in a binary file]
Date: Fri, 02 Aug 2002 21:36:21 +0200	[thread overview]
Message-ID: <3D4ADF35.95DCD299@noos.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: Type: message/rfc822, Size: 18924 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 251 bytes --]

polux moon wrote:

> 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
>

"worked for me" :)

[-- Attachment #2.1.2: readcfloats.tar.gz --]
[-- Type: application/x-gzip, Size: 13168 bytes --]

                 reply	other threads:[~2002-08-02 19:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D4ADF35.95DCD299@noos.fr \
    --to=nadji@noos.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox