Karim Belabas on Tue, 22 Feb 2005 20:16:03 +0100


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

Re: pi(x)


* Justin Walker [2005-02-22 19:43]:
> On Feb 22, 2005, at 0:24, Karim Belabas wrote:
>
>>* Mc Laughlin, James [2005-02-22 06:13]:
>>>Is the prime-counting function, \pi(x), implemented in pari?
>>
>>see primepi() [ version 2.2.8 and onward ]
>
> To be annoyingly pedantic, this version
>              GP/PARI CALCULATOR Version 2.2.8 (development
> CHANGES-1.1057)
> does not have primepi; this version
>              GP/PARI CALCULATOR Version 2.2.10 (development
> CHANGES-1.1100)
> does.

To be even more pedantic, a single version of pari/gp may be referred to as
2.2.8, which is

  ftp://pari.math.u-bordeaux.fr/pub/pari/unstable/pari-2.2.8.alpha.tar.gz

(aka CVS tag release-2-2-8). This one _does_ have primepi().
Its header shows
                  GP/PARI CALCULATOR Version 2.2.8 (alpha)
            i686 running linux (ix86 kernel) 32-bit version

All gp's whose header show 'development CHANGES' information are
pre-releases posted for comments; the version number shown is only the
target of that particular development cycle.

I made a pre-release of a Windows binary which did not contain all the
things that eventually made it into 2.2.8, which you might be referring to.

Hope this clears the confusion,

    Karim.
--
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dep. de Mathematiques, Bat. 425   Fax: (+33) (0)1 69 15 60 19
Universite Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]