Karim Belabas on Mon, 08 Dec 2008 12:15:46 +0100


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

Re: intformal(1-A,Y) = (-A + 1)*A


* Olivier Ramare [2008-12-08 10:56]:
>                  GP/PARI CALCULATOR Version 2.3.4 (released)
>           i486 running linux (ix86/GMP-4.2.2 kernel) 32-bit version
>               compiled: Jul 24 2008, gcc-4.3.1 (Debian 4.3.1-7)
>                (readline v5.2 enabled, extended help available)
>
>                     Copyright (C) 2000-2006 The PARI Group
>
> ? intformal(1-X,Y)
> %8 = -1/2*X^2 + X
> ? intformal(1,Y)
> %12 = Y
> ? intformal(1-A,Y)
> %13 = (-A + 1)*A
>
> Gulp :-(

Gulp indeed. Wrong AND corrupt (the last t_POL is an invalid object).

Fixed in svn: both stable and unstable/testing branches.

Thanks !

    K.B.

P.S: Btw, the preferred way to report bugs in PARI/GP is through our Bug
Tracking System, see http://pari.math.u-bordeaux.fr/Bugs/Reporting.html
This way everything is archived in a central place.

It's as simple as sending an email to submit@pari.math-u-bordeaux:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  To: submit@pari.math.u-bordeaux.fr
  Subject: Pari says 'Goodbye'


  Package: pari
  Version: 2.4.3
  Severity: wishlist

  When exiting, gp mutters a bland, contrived, and frankly quite unpersonal
  'Goodbye'. I suggest the more appropriate
  
      So long and Thanks for all the fish.

  Here is a transcript:

  
  Reading GPRC: /home/diligent/.gprc ...Done.

        GP/PARI CALCULATOR Version 2.4.3 (development svn-11392)
              i686 running linux (ix86 kernel) 32-bit version
               compiled: Dec  8 2008, gcc-4.2.3 (4.2.3-6mnb1)
  [...]
  (10:07) gp > quit
  Goodbye!

  I suggest that the output string, in src/gp/gp.c:gp_quit(), be corrected.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The first two lines ("Package": either pari, pari-stable or gp2c; and "Version")
are required.

The "Severity: wishlist" is optional. You get a regular bug report if you
omit it.

--
Karim Belabas, IMB (UMR 5251)  Tel: (+33) (0)5 40 00 26 17
Universite Bordeaux 1          Fax: (+33) (0)5 40 00 69 50
351, cours de la Liberation    http://www.math.u-bordeaux.fr/~belabas/
F-33405 Talence (France)       http://pari.math.u-bordeaux.fr/  [PARI/GP]
`