Faster factor finder method for 42S

12022019, 12:19 PM
Post: #13




RE: Faster factor finder method for 42S
(12022019 07:17 AM)Werner Wrote: Great idea, Dave! Very clever! That won't tell you where in the matrix there was a zero, so you'll have to take additional steps to find it, but optimizing for the common case (i.e. no factors found) makes sense. It's a shame that MOD won't work with matrices the same way division and 1/X will. In its current state, the matrix approach won't work with 12digit numbers, since the fractional part will be lost with small divisors (any result where the fractional part rounds down to .0 will have the same issue). 

« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)