Talk:Binary digits: Difference between revisions
m
→Has to be a dupe
(Does this make sense to you?) |
|||
Line 38:
:I used the term "decimal integer", which I thought was straightforward. The intention was to provide a function or procedure that takes a decimal integer and outputs the binary digits. For example: print tobinary(5) gives output 101, where 5 is a decimal value, and the output would be 101 in binary digits. The word "decimal" here is to indicate that the input value is in base 10. I don't know why "digits" is causing confusion. The word "conversion" does not appear in the task description. [[User:Markhobley|Markhobley]] 19:04, 8 July 2011 (UTC)
::There are three distinct entities here. The input text is "5", and is a decimal representation of a number. In many languages, this is deserialized to an internal representation of a number
|