[racket] Low level manipulation on numbers

From: nicolas.oury at gmail.com (nicolas.oury at gmail.com)
Date: Sat Oct 8 12:41:35 EDT 2011

Dear all,

I am trying to write a small implementation of Protocol Buffers (
http://code.google.com/p/protobuf/  ) and I have difficulties
with bit manipulations, especially to transform a negative integer into a
series of bytes and back.

I can not find an implementation of a non-arithmetic shift for fixnums, and
a way to specify which size of fixnum to construct.

I can't also find an easy way to get the byte representation of flonums.

Do you have any idea?

Best regards,

Nicolas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111008/068c72b8/attachment.html>

Posted on the users mailing list.