Closes #149. No tests, no benchmarks, no comments, and incorrect results. However, it works, and I'll be improving the code with these things. Ideally I reproduce the author's p(10^19) result.
[x] Make it work with Double (or more generally, Floating).
[ ] Improve the function so that p(n) does return a result with O(n^2) bits of precision. Some type-level programming will be required to return a fixed-point type whose precision is dependent on the input.
[ ] Write tests that verify (should I put "verify" between quotes :smiley:) the function's correctness
Closes #149. No tests, no benchmarks, no comments, and incorrect results. However, it works, and I'll be improving the code with these things. Ideally I reproduce the author's
p(10^19)
result.Double
(or more generally,Floating
).p(n)
does return a result withO(n^2)
bits of precision. Some type-level programming will be required to return a fixed-point type whose precision is dependent on the input.