#4333: bernoulli_python doesn't work
---------------------------+------------------------------------------------
Reporter: mhampton | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.2
Component: number theory | Keywords: bernoulli
---------------------------+------------------------------------------------
I was considering adding doctests to sage/rings/bernoulli.py and
discovered that the code has probably not been used much and is broken.
For example, bernoulli_python gives different answers starting from the
28th Bernoulli number, and returns errors for some small positive integers
(such as 2 and 4). For example:
{{{
q = 28
print bernoulli(q, algorithm='gap')
print bernoulli(q, algorithm='gp')
print bernoulli(q, algorithm='pari')
print bernoulli(q, algorithm='python')
print bernoulli(q, algorithm='bernmm')
-23749461029/870
-23749461029/870
-23749461029/870
-818946929/30
-23749461029/870
}}}
It seems like it would be easiest to delete this file.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4333>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---