This actor converts an IntToken into a sequence of Boolean tokens.
The number of Boolean tokens is specified by the <i>numberOfBits</i>
parameter. It should be a positive integer not bigger than 32.
The most significant bit (the sign bit) is the first boolean
token send out. It is "false" if the input integer is non-negative,
otherwise it is "true". The least significant bit is the last boolean
token send out.
Let <i>k</i> denotes the value of the <i>numberOfBits</i> parameter.
An exception is thrown if the input integer is smaller than
-2<sup><i>k</i></sup> or greater 2<sup><i>k</i></sup> - 1.
Michael Leung
$Id: IntToBits.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 0.4
Yellow (neuendor)
Yellow (neuendor)
The number of Boolean tokens that the input integer is converted to.