Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doctest failures on ARM Chromebook #14077

Closed
sagetrac-Bouillaguet mannequin opened this issue Feb 7, 2013 · 5 comments
Closed

Doctest failures on ARM Chromebook #14077

sagetrac-Bouillaguet mannequin opened this issue Feb 7, 2013 · 5 comments

Comments

@sagetrac-Bouillaguet
Copy link
Mannequin

sagetrac-Bouillaguet mannequin commented Feb 7, 2013

uname -a
Linux localhost.localdomain 3.4.0 #1 SMP Tue Dec 11 03:10:30 PST 2012 armv7l armv7l armv7l GNU/Linux
cat /proc/cpuinfo
Processor: ARMv7 Processor rev 4 (v7l)
processor: 0
BogoMIPS: 1694.10

processor: 1
BogoMIPS: 1694.10

Features: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt 
CPU implementer: 0x41
CPU architecture: 7
CPU variant: 0x0
CPU part: 0xc0f
CPU revision: 4

Hardware: SAMSUNG EXYNOS5 (Flattened Device Tree)
Revision: 0000
Serial: 0000000000000000
make ptestlong
...
The following tests failed:

sage -t  --long -force_lib devel/sage/sage/rings/arith.py # 1 doctests failed
sage -t  --long -force_lib devel/sage/sage/symbolic/expression.pyx # 1 doctests failed
sage -t  --long -force_lib devel/sage/sage/functions/other.py # 1 doctests failed
----------------------------------------------------------------------
Total time for all tests: 11437.2 seconds

The detailed failures are:

**********************************************************************
File "/home/user/Downloads/sage-5.6/devel/sage/sage/rings/arith.py", line 3162:
    sage: binomial(0.5r, 5)
Expected:
    0.02734375
Got:
    0.02734375000000001
**********************************************************************
**********************************************************************
File "/home/user/Downloads/sage-5.6/devel/sage/sage/symbolic/expression.pyx", line 6698:
    sage: SR(10.0r).gamma()
Expected:
    362880.0
Got:
    362880.00000000047
#0: simplify_sum(expr='sum(q^k,k,0,inf))
#1: simplify_sum(expr=a*'sum(q^k,k,0,inf))
**********************************************************************

and:

**********************************************************************
File "/home/user/Downloads/sage-5.6/devel/sage/sage/functions/other.py", line 664:
    sage: gamma1(float(6))
Expected:
    120.0
Got:
    119.99999999999997
**********************************************************************

Component: numerical

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/14077

@jdemeyer
Copy link

jdemeyer commented Feb 7, 2013

comment:1

Isn't this essentially a duplicate of #10285?

@jpflori
Copy link

jpflori commented Feb 7, 2013

comment:2

I guess its the same libc bug isn't it?
See #10285 comment:36
and https://groups.google.com/d/msg/sage-devel/QACdziLhniU/nvBT-EwS4b4J

FYI we have the same problem on Cygwin,
see #6743 comment:116

@jdemeyer jdemeyer modified the milestones: sage-5.11, sage-5.12 Aug 13, 2013
@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@dimpase
Copy link
Member

dimpase commented Jan 31, 2014

comment:5

I propose this be closed as a duplicate.

@vbraun
Copy link
Member

vbraun commented Jan 31, 2014

Reviewer: Jeroen Demeyer

@fchapoton

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants