Instance where While is faster than For for primality test
Forum » Programming & Design / TI-83/84 Programming » Instance where While is faster than For for primality test
Started by: ZenohmZenohm
Date: 17 Mar 2015 00:32
Number of posts: 13
rss icon RSS: New posts
Summary:
I've come across a curious instance where a While loop is 30 seconds faster than a For loop when determining if a given positive integer is prime.
New Post