Jun Chen <ยทยทยทยท@nunki.usc.edu> wrote:
>Does anybody know how to dump floating point
>numbers into a file in binary (not ascii) format?
>Is it possible in Lisp?
In Common Lisp, you can use the function INTEGER-DECODE-FLOAT to get a
representation of a flonum in terms of integral components, which you
can then write out to a binary file. Note that there can be several
flonum point formats (even infinite precision ones), so you have to
either restrict things to one format or arrange for tagging the data.
--David Gadbois