osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Old Man Yells At Cloud


On Sun, Sep 17, 2017 at 11:42 AM, Chris Angelico <rosuav at gmail.com> wrote:
> On Sun, Sep 17, 2017 at 11:28 AM, MRAB <python at mrabarnett.plus.com> wrote:
>> On 2017-09-17 02:00, Steve D'Aprano wrote:
>>>
>>> On Sun, 17 Sep 2017 02:52 am, Dennis Lee Bieber wrote:
>>>
>>>
>>>> Yes -- that would give me fits if I were using Python3 currently...
>>>> Since so many of the languages I've learned over the past years use the
>>>> concept               integer / integer => integer_result
>>>
>>>
>>> That would be C, and C derived languages, perhaps?
>>>
>> Or Fortran.
>
> Or machine code on every CPU I've ever worked with. Dividing integers
> yields an integer.

(Or more technically, yields two integers - div/mod)

ChrisA