Ruud H.G. van Tol on Wed, 30 Aug 2023 09:42:47 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Pi with MT



On 2023-08-29 15:58, Ruud H.G. van Tol wrote:
On 2023-08-28 23:51, Jean-Luc ARNAUD wrote:
I'm interested in a Pi function using MT.

Pari/GP Pi is very fast but does not use MT.

Did anyone code this Pi function in MT and would be so kind as to share his/her code?

If this is about multithreaded prime-counting,
see https://github.com/kimwalisch/primecount/tree/master/src/gourdon

An old page about "distributed decimal digits" of Pi:
https://web.archive.org/web/20050307083631/http://www.lacim.uqam.ca/~plouffe/Simon/articlepi.html

So if you have enough CPUs, that will be very fast :)

-- Ruud