#8896: 0.0000000000000000000000000000 is parsed completely differently than
1.0000000000000000000000000000 for no good reason
--------------------------------+-------------------------------------------
   Reporter:  was               |       Owner:  AlexGhitza
       Type:  defect            |      Status:  new       
   Priority:  minor             |   Milestone:  sage-4.4.2
  Component:  basic arithmetic  |    Keywords:            
     Author:                    |    Upstream:  N/A       
   Reviewer:                    |      Merged:            
Work_issues:                    |  
--------------------------------+-------------------------------------------
 In Sage 0.0 and 0.00000000000000000000000000000000000000 should not denote
 the same thing, though sadly they do.  Note, however, that 1.0 and
 1.00000000000000000000000000000000000000 are different in Sage (as I
 expect):
 {{{
 sage: 0.0
 0.000000000000000
 sage: 0.00000000000000000000000000000000000000
 0.000000000000000
 sage: parent(0.00000000000000000000000000000000000000)
 Real Field with 53 bits of precision
 sage: 1.00000000000000000000000000000000000000
 1.0000000000000000000000000000000000000
 sage: 1.0
 1.00000000000000
 sage: parent(1.00000000000000000000000000000000000000)
 Real Field with 130 bits of precision
 sage: parent(1.0)
 Real Field with 53 bits of precision
 }}}
 I consider the above inconsistency a bug.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8896>
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.

Reply via email to