Charles Greathouse on Tue, 17 Jun 2014 15:21:04 +0200


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

Re: alarm support for mingw


It seems to work for me on Vista. The first command takes about a second, the others are instant.

For anyone else testing this, the URL should be http://pari.math.u-bordeaux.fr/pub/pari/windows/snapshots/gp-alarm-gitdbee21f.exe

(09:17) gp >alarm(1); factor(2^256+1)
  ***   at top-level: alarm(1);factor(2^256+1)
  ***                          ^---------------
  *** factor: alarm interrupt after 1,000 ms.
  ***   Break loop: type 'break' to go back to GP prompt
break> alarm(5); factor(2^256+1)

[                                              1238926361552897 1]

[93461639715357977769163558199606896584051237541638188580280321 1]

break> alarm(1, factor(2^256+1))

[                                              1238926361552897 1]

[93461639715357977769163558199606896584051237541638188580280321 1]

break> alarm(5, factor(2^256+1))

[                                              1238926361552897 1]

[93461639715357977769163558199606896584051237541638188580280321 1]

Charles Greathouse
Analyst/Programmer
Case Western Reserve University


On Mon, Jun 16, 2014 at 5:01 PM, Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> wrote:
Dear PARI developers,

I have created a GIT branch bill-win32_alarm and build
a stand-alone window binary:
http://pari/pub/pari/windows/snapshots/gp-alarm-gitdbee21f.exe
that adds support for the alarm GP function.

Please test it. You can try

alarm(1); factor(2^256+1)
alarm(5); factor(2^256+1)
alarm(1, factor(2^256+1))
alarm(5, factor(2^256+1))

Cheers,
Bill.