Michael Somos on Wed, 15 Aug 2001 10:59:41 -0400

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

type checks

? numtoperm(2,1/x)
  ***   the PARI stack overflows !
  current stack size: 4.0 Mbytes
  [hint] you can increase GP stack with allocatemem()

? \v
    GP/PARI CALCULATOR Version 2.1.0 (released)
  i686 running linux (ix86 kernel) 32-bit version
  (readline v2.2 enabled, extended help available)

Some more rigorous type checking (I know it is boring) is a
good idea. A bit of sanity checking goes a long way. Shalom,