On Fri, May 2, 2008 at 12:41 PM, David Harvey <[EMAIL PROTECTED]> wrote:
>
>
>  On May 2, 2008, at 3:40 PM, William Stein wrote:
>
>  > Also, when I tried
>  >
>  >     bernoulli(10^7+2)
>  >
>  > directly in Sage there were a couple of issues that arose, since
>  > that command
>  > is much more designed for smaller input.   I fixed those small issues.
>  > I guess we'll see in a week ..
>
>  I hope you did:
>
>  sage: x = bernoulli(10^7 + 2)
>
>  and not
>
>  sage: bernoulli(10^7 + 2)
>
>  david

I did:

 t=cputime(); pari.allocatemem(); pari.allocatemem();
pari.allocatemem(); pari.allocatemem(); pari.allocatemem();
pari.allocatemem(); pari.allocatemem(); pari.allocatemem(); b =
bernoulli(10^7+2, algorithm='pari'); b.save('bern.sobj');
save(t,'time.sobj')

after patching Sage to always use the PARI C library if algorithm='pari'.

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to