Jack Fearnley on Sat, 16 Oct 1999 16:56:29 -0400


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

Lack of error message in Mod


The Pari manual states that the the first argument of Mod must be an
integer, scalar or polynomial.

The following illegal usage 

Mod(1+O(7^15),7)

Gives an error message in version 2.0.5 but silently returns zero in
2.0.16.  It also returns zero for

Mod(1+)(7^15),3) and Mod(1.0,7)

Just thought you'd like to know,
				Jack Fearnley