bit shifty - Users Manual
Options menu content
Step 1 - click "..." button for options menu
Step 2 - set desired input/output setting
Input and output number formats or endianness do not need to match, i.e., the input numbers can be big endian 1's complement and the output can be little endian 2's complement
The machine word size setting treats the respective input and output numbers as though they are composed of machine words of the selected size and will truncate results accordingly
Step 3 - choose Haptic feedback for tactile rumble effect on key pressed
Step 4 - Spaces between words adds appropriate spaces between user selected number of bits for machine word size
Step 5 - Discarding overflow during leftshift operations enables standard bit truncation beyond the current machine word
Step 6 - Preserving negativity during rightshifts ensures that a signed negative integer does not become a large positive integer when its sign bit is shifted to the right
Disabling leftshift overflow truncation allows leftshits up to 10,000 bits
Leading negative bits for the smaller integer are extended to match the bit length of the larger integer for all bit logic functions
Keyboard content
The displayed integer's number base can be immediately changed to a new base with this selector -- the relevant input keys on the keypad will automatically change and the number will be converted as well
The integer separator is settable to a number of different options, e.g., comma, period, space, etc., by a long press of the current separator key
Alternatively, Sideways swiping on the key pad quickly changes the number base of the input
The hidden toolbar (shown by pressing plus key) includes copy, paste, clear, reverse number, flip bits, and hide keypad functions
If you want your input value to save and display on the main page you must press enter to dismiss the keyboard screen after typing the number
Long pressing anywhere on the displayed number will move the input cursor to that location
Swiping downward anywhere on the keyboard screen will dismiss the keyboard without saving or transferring any changes to the main page -- enabling you to you do conversions that do not affect your main calculation
Swiping upward anywhere in the keypad area will insert the currently selected separators (comma, period, space, etc.) in the displayed number
The small keyboard key in the hidden toolbar (shown by plus key) only hides or unhides the keypad in order to display more of the input screen
The bit flip function key in the hidden toolbar is only available for non-decimal format numbers
Home screen content
Press and scroll left wheel to choose function category
Press and scroll right wheel to choose specific function
Arithmatic
addition
subtraction
multiplication
division
two to the x
EE (10 to the power)
Bitwise
set bit
clear bit
toggle bit
left shift
right shift
Bit logic
and
nand
or
nor
xor
xnor
Pressing the box with the down arrow moves the currently displaying result to the respective input box
Pressing the swap boxes with arrows swaps currently displaying input values
Tapping in either of the number entry fields will clear the value in the result field
Changing the value in the result field (when expanded) will clear both of the number entry fields
Demo of large integer division
1 << 10,000
Just for fun -- calculating 2^10,000 on an iPhone
Basic demonstration of base conversions and multiplication