From: Vahe Y. Avedissian

Subject: binary IO

Date: 1996-7-26 1:51


Hi,

I am trying to figure out the "best" way to do binary IO of
floating point numbers from acl (or any common lisp for that
matter).

Is there anything equivalent to reading bytes into an array
and they doing the C equivalent of memcpy to directly set
the register or memory contents of a floating point number?

I can always read the bit/byte patterns and mask off the
mantisssa and exponent parts and re-compute the float, but
that seems like the wrong way to go.

The counterpart to this question is doing a binary dump of
floating point data to a file.

I am running on irix 5.3, using acl4.3.

Any suggestions?

Thanks,


Vahe'