#7819: RealInterval(+infinity,+infinity).is_int() blows up
--------------------------------+-------------------------------------------
   Reporter:  rlm               |       Owner:  AlexGhitza     
       Type:  defect            |      Status:  positive_review
   Priority:  major             |   Milestone:  sage-4.3.1     
  Component:  basic arithmetic  |    Keywords:                 
Work_issues:                    |      Author:  Robert Miller  
   Upstream:  N/A               |    Reviewer:                 
     Merged:                    |  
--------------------------------+-------------------------------------------
Changes (by kcrisman):

  * status:  needs_review => positive_review


Comment:

 Positive review.  By the way,
 {{{
 sage: a =
 RIF(3.9999999999999999999999999999999999,5.000000000000000000000000000000000)
 sage: b =
 RIF(4.000000000000000000000000000000000,4.9999999999999999999999999999999999)
 sage: a.is_int()
 (False, None)
 sage: b.is_int()
 (False, None)
 }}}
 though I don't know if that's a bug (except in user input), since
 {{{
 sage: a.str(style='brackets')
 '[3.9999999999999995 .. 5.0000000000000000]'
 sage: b.str(style='brackets')
 '[4.0000000000000000 .. 5.0000000000000000]'
 }}}
 but anyway wanted to point it out in case this is considered something
 that should be documented in is_int(), not just in RIF().

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7819#comment:2>
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