Michael Somos on Mon, 6 Jan 2003 16:57:36 -0500


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

gp: gcd(0), tan(Pi/2) error messages unhelpful


pari-dev,

? gcd(0)
  ***   incorrect type in association.
? \p29
   realprecision = 38 significant digits (29 digits displayed)
? tan(Pi/2)
  ***   division by zero in R/R

These error messages are unhelpful. In a program which calls these
in lower-level functions, it is not easy to figure out where these
error messages came from. While not bugs in 'gp' itself, they can
make finding bugs in user function difficult. Shalom, Michael