Re: floor(PI)

Bill Allombert <[email protected]>
Newsgroups gmane.comp.mathematics.pari.devel
Message-ID <Y7xsR3n1op/H4655@seventeen>
On Mon, Jan 09, 2023 at 08:23:03PM +0100, Ruud H.G. van Tol wrote:
> 
> Is this on purpose?
> 
> ? floor(PI)
> % = PI

Yes. In GP, π is named Pi not PI or pi.
PI is just a normal polynomial variable

? Pi^2
%10 = 9.8696044010893586188344909998761511353
? PI^2
%11 = PI^2

Cheers,
Bill
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.