#5239: Sage 3.3.rc0: even more numerical noise in sage/sage/plot/plot.py
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |       Owner:  mabshoff
     Type:  defect    |      Status:  new     
 Priority:  blocker   |   Milestone:  sage-3.3
Component:  doctest   |    Keywords:          
----------------------+-----------------------------------------------------
 Reported by David M. Monarres on OSX 10.5.6:
 {{{
 sage -t  "devel/sage/sage/plot/plot.py"
 **********************************************************************
 File "/Users/ayeq/sage-3.3.alpha5/devel/sage/sage/plot/plot.py", line
 2582:
      sage: generate_plot_points(sin(x), (-pi, pi), randomize=False)
 Expected:
      [(-3.1415926535897931, -1.2246...e-16), (-2.748893571891069,
      -0.38268343236508989), (-2.3561944901923448, -0.707106781186547...),
      (-2.1598449493429825, -0.831469612302545...), (-1.9634954084936207,
      -0.92387953251128674), (-1.7671458676442586, -0.98078528040323043),
      (-1.5707963267948966, -1.0), (-1.3744467859455345,
      -0.98078528040323043), (-1.1780972450961724, -0.92387953251128674),
      (-0.98174770424681035, -0.83146961230254524), (-0.78539816339744828,
      -0.707106781186547...), (-0.39269908169872414, -0.38268343236508978),
      (0.0, 0.0), (0.39269908169872414, 0.38268343236508978),
      (0.78539816339744828, 0.707106781186547...), (0.98174770424681035,
      0.83146961230254524), (1.1780972450961724, 0.92387953251128674),
      (1.3744467859455345, 0.98078528040323043), (1.5707963267948966, 1.0),
      (1.7671458676442586, 0.98078528040323043), (1.9634954084936207,
      0.92387953251128674), (2.1598449493429825, 0.831469612302545...),
      (2.3561944901923448, 0.707106781186547...), (2.748893571891069,
      0.38268343236508989), (3.1415926535897931, 1.2246...e-16)]
 Got:
      [(-3.1415926535897931, -1.2246467991473532e-16),
 (-2.748893571891069, -0.38268343236508984), (-2.3561944901923448,
 -0.70710678118654757), (-2.1598449493429825, -0.83146961230254546),
 (-1.9634954084936207, -0.92387953251128674), (-1.7671458676442586,
 -0.98078528040323043), (-1.5707963267948966, -1.0),
 (-1.3744467859455345, -0.98078528040323043), (-1.1780972450961724,
 -0.92387953251128674), (-0.98174770424681035, -0.83146961230254512),
 (-0.78539816339744828, -0.70710678118654746), (-0.39269908169872414,
 -0.38268343236508978), (0.0, 0.0), (0.39269908169872414,
 0.38268343236508978), (0.78539816339744828, 0.70710678118654746),
 (0.98174770424681035, 0.83146961230254512), (1.1780972450961724,
 0.92387953251128674), (1.3744467859455345, 0.98078528040323043),
 (1.5707963267948966, 1.0), (1.7671458676442586, 0.98078528040323043),
 (1.9634954084936207, 0.92387953251128674), (2.1598449493429825,
 0.83146961230254546), (2.3561944901923448, 0.70710678118654757),
 (2.748893571891069, 0.38268343236508984), (3.1415926535897931,
 1.2246467991473532e-16)]
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5239>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to