Hi,

among the few failing tests with my ARM built, two are because of accuracy reasons :

File "/home/jpuydt/sage-4.6.2/devel/sage/sage/functions/other.py", line 497:
    sage: gamma1(float(6))
Expected:
    120.0
Got:
    119.99999999999997

File "/home/jpuydt/sage-4.6.2/devel/sage/sage/symbolic/expression.pyx", line 6067:
    sage: SR(10.0r).gamma()
Expected:
    362880.0
Got:
    362880.00000000047

I tried to get more information about it, and was told that on armel, long double is the same type as double... and hence the computations are correct.

Can can those tests be made fuzzier, since checking for equality on floats isn't a good idea?

Snark on #sage-devel

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to