|
Digit Manipulation
A Programming Pattern |
|
Prof. David Bernstein |
| Computer Science Department |
| bernstdh@jmu.edu |
int value is "atomic" (i.e., it does not
have any constituent parts)int value
: Binary Numbersint values are represented internally
in binary (i.e., base 2)<<
>>
&
|
Decimal Representation of an Integer
/)%)/)%)412831758 % 10
412831758 / 1000000
(412831758 % 1000000) / 10