Talk:Binary digits: Difference between revisions

Content added Content deleted
No edit summary
(A brief explanation)
Line 10: Line 10:
::I don't understand the differences that you're talking about. "The results can be achieved using builtin radix functions within the language..." which is part of [[Non-decimal radices/Output]], "or a user defined function can be utilized" which is part of [[Non-decimal radices/Convert]]. Neither is exactly the same, but the parts are in both, and I don't see what this task adds to them. I need a better explanation of the differences. What would be better is a demonstration of this task in a language that is also implemented in both the other tasks. --[[User:Mwn3d|Mwn3d]] 17:48, 6 July 2011 (UTC)
::I don't understand the differences that you're talking about. "The results can be achieved using builtin radix functions within the language..." which is part of [[Non-decimal radices/Output]], "or a user defined function can be utilized" which is part of [[Non-decimal radices/Convert]]. Neither is exactly the same, but the parts are in both, and I don't see what this task adds to them. I need a better explanation of the differences. What would be better is a demonstration of this task in a language that is also implemented in both the other tasks. --[[User:Mwn3d|Mwn3d]] 17:48, 6 July 2011 (UTC)
::"With conversion", "without conversion", them are all just words. What is a "conversion" exactly? Take an integer, give back a string, how is that not a conversion? Are decimal numbers stored inside the computer as digits 0-9, you think? --[[User:Ledrug|Ledrug]] 17:55, 6 July 2011 (UTC)
::"With conversion", "without conversion", them are all just words. What is a "conversion" exactly? Take an integer, give back a string, how is that not a conversion? Are decimal numbers stored inside the computer as digits 0-9, you think? --[[User:Ledrug|Ledrug]] 17:55, 6 July 2011 (UTC)

:::Right. I am talking about at language level, not CPU level here. Some languages allow a binary value to be used natively (from within the language). Other languages do not allow this (and therefore do not have binary support at a native language level). If the language does not have a radix specifier for binary (ie it does not have native support for binary), then we have to do some number crunching or string manipulation to derive the binary value as output. If a conversion routine does not need to be written within that language, because the language already supports this, we can say it handles binary "without conversion". If the language does not provide any native handling for binary, and we have to write some number crunching code, then this is a "conversion". Does that make sense? It will probably be clearer, when some of the conversion routines get pasted in.
[[User:Markhobley|Markhobley]] 18:15, 6 July 2011 (UTC)