Talk:Integer long division: Difference between revisions

(added a few comments/questions.)
 
 
(One intermediate revision by one other user not shown)
Line 2:
 
It should be noted that most of the task's preamble is actually referring to integers &nbsp; (<u>not</u> numbers) &nbsp; expressed in base ten, &nbsp; but particularly, &nbsp; the 4th paragraph. &nbsp; Also, nothing was mentioned or inferred about signed integers (allowed or not?, or just ignored?).
 
>> Yes, the title of the task is Integer long division. I did not consider signed integers, thanks for pointing it out. Simply consider positive unsigned integers.
 
In the "note" &nbsp; (2nd sentence, 4th paragraph), &nbsp; I was rather uncertain in this period of time as to the meaning of the word &nbsp; '''period''' &nbsp; &nbsp; (<big>... ''will always produce a period''. </big>
 
Did you mean in the context of a <code>period</code> &nbsp; (a group of repeated decimal digits), &nbsp; or a &nbsp; '''decimal point''', &nbsp; (also known as) &nbsp; a <code>period</code>.
 
>> A language ambiguity. Here I mean a repeating sequence of digits.
 
Furthermore, &nbsp; most of the 4th paragraph isn't true because &nbsp; ''... the division of any two numbers ...'' &nbsp; &nbsp; is incorrect, &nbsp; it probably should say &nbsp; ''... the division of any two integers ...''.
Line 11 ⟶ 15:
'''Numbers''' &nbsp; could produce vulgar (or improper) (decimal) fractions. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:28, 15 September 2021 (UTC)
 
>> My bad. I meant to say integers, thanks for spotting it.
Also, not all computer programming languages produce a decimal point when doing (perfect/complete) division of two integers. &nbsp; '''8''' &nbsp; divided by &nbsp; '''4''' &nbsp; is &nbsp; '''2''' &nbsp; (no decimal point) &nbsp; when performed by a REXX program. &nbsp; There can be similar results in other computer programming languages that make use of "picture" ('''PIC''') specifications (and other such animals) &nbsp; such as in the '''COBOL''' and '''PL/I''' languages. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:28, 15 September 2021 (UTC)
 
 
Also, not all computer programming languages produce a decimal point when doing (perfect/complete) division of two integers.
 
Also, not all computer programming languages produce a decimal point when doing (perfect/complete) division of two integers. &nbsp; '''8''' &nbsp; divided by &nbsp; '''4''' &nbsp; is &nbsp; '''2''' &nbsp; (no decimal point) &nbsp; when performed by a REXX program. &nbsp; There can be similar results in other computer programming languages that make use of "picture" ('''PIC''') specifications (and other such animals) &nbsp; such as in the '''COBOL''' and '''PL/I''' languages. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:28, 15 September 2021 (UTC)
 
 
47

edits