summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-02-04 17:36:02 -0800
committerKaz Kylheku <kaz@kylheku.com>2017-02-04 17:36:02 -0800
commit1b73f78249070e277f9fb29bb2853b0c38c3df9e (patch)
treea0a20de31c66de88af7e118a1aa29c5c09cc8ead /txr.1
parentd3c59ab2645be91bee1a9ef084997f9c84e54150 (diff)
downloadtxr-1b73f78249070e277f9fb29bb2853b0c38c3df9e.tar.gz
txr-1b73f78249070e277f9fb29bb2853b0c38c3df9e.tar.bz2
txr-1b73f78249070e277f9fb29bb2853b0c38c3df9e.zip
Add useful sys:bits function.
sys:bits converts a Lisp value to an integer whose value is the object's bit pattern interpreted as a pure binary number. (Only the "unboxed" part of the object that is stored in variables or passed into functions, not any "boxded" heap part which is referenced.) this holds: (eq a b) <--> (= (sys:bits a) (sys:bits b)) Two values a and b are the same object iff their sys:bits values are the same integer. * arith.c (bits): New static function. (arith_init): Register bits as sys:bits.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions