Jump to content

Proper divisors: Difference between revisions

m
→‎version 3: added comments in the REXX section header about speed improvements.
(→‎version 3: optimized the Pdivs function.)
m (→‎version 3: added comments in the REXX section header about speed improvements.)
Line 1,679:
 
===version 3===
ThisWhen factoring   20,000 integers, this REXX version is over 12% faster than the REXX version 2   (more so when specifying larger numbers).
<br>When factoring 200,000 integers, this REXX version is over 25% faster.
 
It accomplishes a faster speed by incorporating the calculation of an &nbsp; ''integer square root'' &nbsp; of an integer &nbsp; (without using any floating point arithmetic).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.