David Lichteblau wrote: >Quoting Arthur Lemmens ([EMAIL PROTECTED]): > > >>>I'm trying to code something to read and write floating point numbers >>>from/to a binary stream. >>> >>> >>Do you know about INTEGER-DECODE-FLOAT and SCALE-FLOAT? >>They may make your life easier here. >> >> > >Or kernel:make-double-float, kernel:double-float-high-bits, >kernel:double-float-low-bits, which are not portable but also work with >infinities and NaN. > > > I do know about INTEGER-DECODE-FLOAT and SCALE-FLOAT, but I really wanted this to be portable, not only to lisp, but also those binary files to be readable by standard c code...
Martin
