Best search algorithm to find condition within a range

Dave Angel davea at davea.name
Tue Apr 7 17:04:37 CEST 2015


On 04/07/2015 10:36 AM, jonas.thornvall at 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



More information about the Python-list mailing list