Talk:Increment a numerical string: Difference between revisions

m
→‎comments on language comparisons: corrected spelling of "truncation".
m (→‎comments on language comparisons: changed wording a wee bit, added highlighting. -- ~~~~)
m (→‎comments on language comparisons: corrected spelling of "truncation".)
Line 19:
I don't believe that the RC code page is the right place to ''compare'' language features (or what some languages have that others don't, specifically: that the PL/I '''SIZE''' condition isn't in the REXX language). [Unless, of course, of course, that's the task's requirement.] It should be noted that the Regina REXX has implemented the '''LOSTDIGITS''' condition which addresses that problem. It might take years to list all the language features that REXX doesn't have that other languages have, and, most likely, a fruitless endeavor. Again, we are talking about skinning a cat in multiple and different ways, and I pity the poor feline.
 
Your investigation of ''the situation'' would most likely be more germane in a study (task) of what happens when an arithmetic operation (such as integer addition) causes an imprecise (or wrong-appearing) result due to insufficient precision (or scale), and may result in ''rounding'' (or ''trucationtruncation'' may be the better word choice in this instance), or the increment (or whatever) is so small that the arithmetic operation is ineffective because of lack of magnitude. In any case, I believe your investigative results are beyond the scope of this task's requirements which is about ''incrementing a numerical string''.
 
Perhaps someone will create a RC task to try to determine the efficacy of various language's mathematical operations. On point could/would be: