#8461: Numerical noise in /sage/sage/plot/colors.py
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.4
Component: graphics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Running Solaris 10 on a SPARC, I get some numerical noise on this. Since
these are RGB values.
{{{
**********************************************************************
File
"/export/home/drkirkby/32/sage-4.3.4.alpha0/devel/sage/sage/plot/colors.py",
line 660:
sage: gold / pi + yellow * e
Expected:
RGB color (0.51829585732141792, 0.49333037605210095, 0.0)
Got:
RGB color (0.51829585732141814, 0.49333037605210117, 0.0)
**********************************************************************
}}}
The test makes use of 'e'. As has been shown on various other trac tickets
(e.g. #8374, #8375), the value of 'e' returned by the SPARC processor is
less accurate then the Intel/ADM chips.
I'll attach a patch soon.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8461>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.