<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="&lt;&lt;" module="max" category="Math">
	<digest>
		Bit shift to the left
	</digest>
	<description>
		Shifts all bit values to the left. This has the effect of multiplying a number by a power of two, but is less expensive in computer time.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Math
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Set Left Operand, Trigger the Calculation
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Set Right Operand
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Result = Left &lt;&lt; Right
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial-value" optional="1" type="int">
			<digest>
				Number of bits positions to shift
			</digest>
			<description>
				Sets an initial value for the number of bits by which to shift leftward.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Perform the bit shift
			</digest>
			<description>
				In left inlet: Performs the bit-shift with the numbers currently stored. If there is no argument, <o>&lt;&lt;</o> initially holds <m>0</m> as the number of bits by which to shift.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Value to be bit-shifted
			</digest>
			<description>
				In left inlet: All bits of the number, in binary form, are shifted to the left by a certain number of bits. The resulting number is sent out the outlet.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Converted to <m>int</m> 
			</digest>
			<description>
				See the <m>int</m> listing.
			</description>
		</method>
		<method name="in1">
			<arglist>
				<arg name="amount-of-bitshift" optional="0" type="int" />
			</arglist>
			<digest>
				Number of bits to shift leftward
			</digest>
			<description>
				In right inlet: The number is stored as the number of bits to left-shift the number in the left inlet.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="set-input" optional="0" type="int" />
			</arglist>
			<digest>
				Set input without causing output
			</digest>
			<description>
				Sets input to the object without causing output (<m>bang</m> will output it).
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input" optional="0" type="int" />
				<arg name="shift-amount" optional="0" type="int" />
			</arglist>
			<digest>
				Shift the first value by the second value
			</digest>
			<description>
				In left inlet: The first number is bit-shifted to the left by the number of bits specified by the second number.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="shiftleft.png" caption="Same effect as multiplying by a power of 2" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="*" />
		<seealso name="&gt;&gt;" />
	</seealsolist>
	<misc name="Output">
		<entry name="int">
			<description>
				The number in the left inlet is bit-shifted to the left by a certain number of bits. The number of bits by which to shift is specified by the number in the right inlet. The output is the resulting bit-shifted number.
			</description>
		</entry>
	</misc>
</c74object>
