On 04/07/2015 10:36 AM, jonas.thornv...@gmail.com wrote:


All operations on integers addition, subtraction, multiplication and division 
assume base 10.


There have been machines where that was true, but I haven't worked on such for about 30 years. On any machines I've programmed lately, the arithmetic is done in binary by default, and only converted to decimal for printing.

Not that the internal base is usually relevant, of course.

--
DaveA
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to