Numbers which are the cube roots of the product of their proper divisors: Difference between revisions

m
→‎{{header|Phix}}: looks a bit too much like "8.25%" for my tastes
m (→‎{{header|Phix}}: ugh, fast/safe comment backwards, added precision error comment.)
m (→‎{{header|Phix}}: looks a bit too much like "8.25%" for my tastes)
Line 158:
<span style="color: #008080;">end</span> <span style="color: #008080;">while</span>
<!--</syntaxhighlight>-->
By default factors() does not include 1 and n, or I could use length(factors(n,1))=8., both 25% faster than using product(), which
exceeds precision limits on 32-bit for n=180, and on 64bit for n=240, though since you'll get exactly the same precision error on the n*n*n it kinda "worked by chance".
{{out}}
7,818

edits