Talk:Bitwise operations: Difference between revisions

No edit summary
(→‎assumption of how integers are stored=: added observation. == ~~~~)
Line 1:
Shifts have now been added to the task. Please check your languages to make sure they have shifting properly implemented. --[[User:Mwn3d|Mwn3d]] 17:11, 19 May 2008 (MDT)
 
== assumption of how integers are stored===
 
Since the task is more-or-less bit orientated, the assumption is that integers are stored in binary form (that is, bits).
<br>This isn't the case for all languages, or for that matter, all computers.
<br>There exist decimal computers (albet, no
longer being built, but a few are still running). I don't mean computers that HANDLE decimal numbers, but RUN in
decimal.
<br>The REXX language stores all it's variables in character form. REXX does allow the programmer to "get to" the
(actual) binary value of the characters (which may be a representation of an integer, or some other number), but the
binary bits would be different on an ASCII machine vs. an EBCDIC machine. -- [[User:Gerard Schildberger|Gerard Schildberger]] 23:35, 22 March 2012 (UTC)