#7819: RealInterval(+infinity,+infinity).is_int() blows up
--------------------------------+-------------------------------------------
   Reporter:  rlm               |       Owner:  AlexGhitza   
       Type:  defect            |      Status:  new          
   Priority:  major             |   Milestone:  sage-4.3.1   
  Component:  basic arithmetic  |    Keywords:               
Work_issues:                    |      Author:  Robert Miller
   Upstream:  N/A               |    Reviewer:               
     Merged:                    |  
--------------------------------+-------------------------------------------
 {{{
 sage: RealInterval(+infinity,+infinity).is_int()
 ---------------------------------------------------------------------------
 ValueError                                Traceback (most recent call
 last)

 /Users/rlmill/.sage/temp/rlm_book.local/9535/_Users_rlmill__sage_init_sage_0.py
 in <module>()

 /Users/rlmill/sage-4.3/local/lib/python2.6/site-
 packages/sage/rings/real_mpfi.so in
 sage.rings.real_mpfi.RealIntervalFieldElement.is_int
 (sage/rings/real_mpfi.c:16689)()

 /Users/rlmill/sage-4.3/local/lib/python2.6/site-
 packages/sage/rings/real_mpfr.so in sage.rings.real_mpfr.RealNumber.ceil
 (sage/rings/real_mpfr.c:14488)()

 ValueError: Calling ceil() on infinity or NaN
 }}}

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