Bill Allombert on Mon, 09 Jan 2023 20:35:40 +0100


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

Re: floor(PI)


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