Re: Parsing binary Java doubles



David Lichteblau <usenet-2006@xxxxxxxxxxxxxx> writes:

On 2007-08-31, Stefan Arentz <stefan.arentz@xxxxxxxxx> wrote:
I have a blob of data that contains Java double values written to
it. How would I parse those back into something Lisp understands? I'm
using SBCL 1.0.9.

Read its 32-bit halves as integers, then use
sb-kernel:make-double-float.

Ah I think that was the final piece of the puzzle :-) Thanks!

S.
.



Relevant Pages

  • Parsing binary Java doubles
    ... I have a blob of data that contains Java double values written to ... How would I parse those back into something Lisp understands? ... using SBCL 1.0.9. ...
    (comp.lang.lisp)
  • Re: multicore lisp?
    ... web page that SBCL does not care about thread safety, ... I object to the claim "as of December 2007 they have big locks around ... You're using a definition of thread safe here that I can't agree with. ... support for basic lisp operations in sbcl. ...
    (comp.lang.lisp)
  • Re: Java connected Lisp
    ... versions of GNU Classpath and SBCL, ... Invent a nice and fast interface for calls from Lisp to Java and back. ... The trick could be to hack the compiler so that it recognizes accesses ... Rewrite the "compiler" ...
    (comp.lang.lisp)
  • Re: Help --- Lisp IDE
    ... There are personal versions of commercial Common Lisp implementations, ... In fact, I tried almost all Lisps around: Franz, SBCL, Clozure (with ... shooting infrared images from Earth. ... volunteers and correct the satellite. ...
    (comp.lang.functional)
  • Re: Python and Lisp Test
    ... > For the record, your python version: ... > This is SBCL 0.9.4, an implementation of ANSI Common Lisp. ... If so, then get a language ...
    (comp.lang.lisp)