[plt-scheme] how to tell 32/64bit platform?

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Sep 30 13:03:23 EDT 2009

On Sep 30, Chongkai Zhu wrote:
> The only way I can think of now is (fixnum? (expt 2 40)) . Should 
> 'system-type be able to tell that?

((dynamic-require 'scheme/foreign 'compiler-sizeof) 'int)

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.