Square form factorization: Difference between revisions

m
(Added Sidef)
m (→‎{{header|Wren}}: Minor tidy)
 
Line 2,906:
 
Even so, there are two examples which fail (1000000000000000127 and 1537228672809128917) because the code is unable to process enough 'multipliers' before an overflow situation is encountered. To deal with this, the program automatically switches to BigInt to process such cases.
<syntaxhighlight lang="ecmascriptwren">import "./long" for ULong
import "./big" for BigInt
import "./fmt" for Fmt
 
var multipliers = [
9,485

edits