summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik M. Bray <erik.bray@lri.fr>2018-07-10 16:21:39 +0200
committerErik M. Bray <erik.bray@lri.fr>2018-07-10 16:21:39 +0200
commit61e0e44c691b79c271f4a7b53d8e51be76a3dd9d (patch)
tree3980807140ebcd9879473dbe5aadacea38321be4
parentUpdated SageMath version to 8.3.rc0 (diff)
adjust for minor system-dependent floating point variation on this test; #25815u/embray/ticket-25815
-rw-r--r--src/sage/symbolic/expression.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sage/symbolic/expression.pyx b/src/sage/symbolic/expression.pyx
index e9a6737..16a3b79 100644
--- a/src/sage/symbolic/expression.pyx
+++ b/src/sage/symbolic/expression.pyx
@@ -6840,7 +6840,7 @@ cdef class Expression(CommutativeRingElement):
sage: x, y, n = var('x, y, n')
sage: f = pi^3*x - y^2*e - I; f
pi^3*x - y^2*e - I
- sage: f.polynomial(CDF)
+ sage: f.polynomial(CDF) # abs tol 1e-15
(-2.718281828459045)*y^2 + 31.006276680299827*x - 1.0*I
sage: f.polynomial(CC)
(-2.71828182845905)*y^2 + 31.0062766802998*x - 1.00000000000000*I
@@ -6954,7 +6954,7 @@ cdef class Expression(CommutativeRingElement):
sage: f = e*x^3 + pi*y^3 + sqrt(2) + I; f
pi*y^3 + x^3*e + sqrt(2) + I
sage: R = CDF['x,y']
- sage: R(f)
+ sage: R(f) # abs tol 1e-15
2.718281828459045*x^3 + 3.141592653589793*y^3 + 1.414213562373095 + 1.0*I
We coerce to a higher-precision polynomial ring::