[plt-scheme] Bit manipulation in PLT Scheme
On Mar 16, Matthew Flatt wrote:
> At Wed, 15 Mar 2006 19:53:58 +0000, "Paulo J. Matos" wrote:
> > How can I know when I have a 30 or 62 bit fixnum then?
>
> There's no simple way to tell, currently.
Wouldn't
(eq? (expt 2 35) (expt 2 35))
work?
And related to that -- it seems that something like a `fixnum?' or
`most-positive-fixnum' would be useful for bit-manipulation cases and
foreign interaction...
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!