Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Christopher Oliver" <oliver@fritz.traverse.com>
To: Xavier.Leroy@inria.fr (Xavier Leroy)
Cc: caml-list@inria.fr
Subject: Re: Marshalling of floats
Date: Wed, 5 Aug 1998 04:13:49 -0400 (EDT)	[thread overview]
Message-ID: <E0z3yhh-0000cr-00@fritz.traverse.net> (raw)
In-Reply-To: <19980805100018.38349@pauillac.inria.fr> from "Xavier Leroy" at Aug 5, 98 10:00:18 am

> Floats are written in "native" endianness (the natural endianness of
> the machine writing the file), but along with a flag telling which
> endianness is used.

Ouch!  That will teach me to read only one piece of code.  My common
work usually has me dealing with standardized network representations,
so I missed this strategy completely.  [Chris sticks head in bucket.]

> > Harder, does anyone have any good ideas besides conversion to

> The next release of OCaml will use the same format for float arrays in
> native-code and in bytecode, thus solving this problem.

Both compact I hope.  Any idea on when this might happen?

-- 
Christopher Oliver                     Traverse Internet
Systems Coordinator                    223 Grandview Pkwy, Suite 108
oliver@traverse.net                    Traverse City, Michigan, 49684
let magic f = fun x -> x and more_magic n f = fun x -> f ((n f) x);;





      reply	other threads:[~1998-08-12 20:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-04 18:38 Christopher Oliver
1998-08-05  8:00 ` Xavier Leroy
1998-08-05  8:13   ` Christopher Oliver [this message]

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=E0z3yhh-0000cr-00@fritz.traverse.net \
    --to=oliver@fritz.traverse.com \
    --cc=Xavier.Leroy@inria.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