Bill Allombert on Sat, 18 Jan 2003 22:13:18 +0100


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

Re: gp: divrem(1+O(2),1+O(2)) forbidden division


On Sat, Jan 18, 2003 at 04:17:41PM -0500, Michael Somos wrote:
> pari-dev,
> 
> Bill Allombert pointed out :
> 
> > Did you see the '\' ? it is not a '/', and 
> 
> Actually, no. I had not noticed that detail before. Thanks for
> pointing it out. However, it is easy to miss that detail. Also
> 
> ? 1+O(2)\1+O(2)
>   ***   forbidden division t_PADIC \ t_INT.

\ has same priority as / so it is parsed as
1+(O(2)\1)+O(2).
and O(2)\1 is not allowed.

Cheers,
Bill.