Igor Schein on Wed, 15 Aug 2001 11:17:01 -0400

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

Re: type checks

On Wed, Aug 15, 2001 at 10:59:41AM -0400, Michael Somos wrote:
> ? 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,
> Michael

Using latest CVS sources:

? numtoperm(2,1/x)
  ***   not an integer argument in an arithmetic function

So this one has been fixed.  There may be a few more here and there,
but I believe the majority has been taken care of.