Implement new primitive INTEGER-LENGTH-IN-BITS. This computes the
authorChris Hanson <org/chris-hanson/cph>
Tue, 22 Apr 1997 22:42:41 +0000 (22:42 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 22 Apr 1997 22:42:41 +0000 (22:42 +0000)
commit5fd3b6a3aadeb1e715731a412c867b898047adb3
tree6e7a80542c1be70fa6bc04077a585dd9d0e4c40a
parent8170e269997f951486d3dc26cc04fbab5f5c3f42
Implement new primitive INTEGER-LENGTH-IN-BITS.  This computes the
length of a non-negative integer in the obvious way; it computes the
length of a negative integer by negating it and then returning the
value for the positive equivalent.

This primitive can be used to greatly speed up the conversion of
rational numbers to flonums.
v7/src/microcode/artutl.c
v7/src/microcode/extern.h
v7/src/microcode/intprm.c