Talk:Count in octal: Difference between revisions

Content added Content deleted
Line 11: Line 11:
:The other task mentions number conversion routines. For this task it may be possible to use native octal, rather than number conversion. However, this is not a requirement, so if the language does not support octal, then number conversion is permitted. IMHO It is better to split the common bases (hex,dec,oct,bin) into separate tasks, rather than having one task to implement them all, because a dedicated implementation may be smaller and more efficient than a multibase implementation, so if you are writing an application that has a primary purpose of dealing with octal numbers, it would be better to use dedicated octal number manipulation routines. --[[User:Markhobley|Markhobley]] 20:35, 6 June 2011 (UTC)
:The other task mentions number conversion routines. For this task it may be possible to use native octal, rather than number conversion. However, this is not a requirement, so if the language does not support octal, then number conversion is permitted. IMHO It is better to split the common bases (hex,dec,oct,bin) into separate tasks, rather than having one task to implement them all, because a dedicated implementation may be smaller and more efficient than a multibase implementation, so if you are writing an application that has a primary purpose of dealing with octal numbers, it would be better to use dedicated octal number manipulation routines. --[[User:Markhobley|Markhobley]] 20:35, 6 June 2011 (UTC)
::Does one of the examples here use "native octal"? I'm not sure what that means. --[[User:Mwn3d|Mwn3d]] 20:42, 6 June 2011 (UTC)
::Does one of the examples here use "native octal"? I'm not sure what that means. --[[User:Mwn3d|Mwn3d]] 20:42, 6 June 2011 (UTC)
::: Perhaps representing the octal value as a variable width ascii string (instead of a fixed integer) might be "native octal"? --[[User:Rdm|Rdm]] 21:27, 6 June 2011 (UTC)