Hi,

Le 18/02/2015 13:53, Julien Puydt a écrit :
I'm having strange numerical behaviour with my experimental sage using
debian packages, with two failing doctests in the src/sage/libs/pari/
directory (both in gen.pyx) :

Failed example:
     (s*z)^5
Expected:
     2.00000000000000 - 1.08420217248550 E-19*I
Got:
     2.00000000000000 + 0.E-19*I

Failed example:
     e.ellztopoint(1+i)
Expected:
     [0.E-19 - 1.02152286795670*I, -0.149072813701096 -
0.149072813701096*I]
Got:
     [0.E-18 - 1.02152286795670*I, -0.149072813701096 -
0.149072813701096*I]

If those are indeed more numerical noise than serious issues, how can one relax the doctests so they don't fail at each pari upgrade, but still detect big problems ?

I don't think a simple "# tol 1e-15" will do the trick here, will it ?

Snark on #sagemath

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to