#8869: float(CDF(1)) should return 1.0, not throw an error
---------------------------------------------------+------------------------
   Reporter:  jason                                |       Owner:  AlexGhitza  
       Type:  defect                               |      Status:  needs_review
   Priority:  major                                |   Milestone:  sage-4.4.3  
  Component:  basic arithmetic                     |    Keywords:              
     Author:  Jason Grout                          |    Upstream:  N/A         
   Reviewer:  Karl-Dieter Crisman, Leif Leonhardy  |      Merged:              
Work_issues:                                       |  
---------------------------------------------------+------------------------

Comment(by leif):

 Well, {{{__long__()}}} could equally well succeed if the ''fractional''
 (and imaginary) part is zero... ;-)

 (And note that {{{int(1.1)}}} '''silently''' ''truncates''; i.e. the
 current situation is overall not very consistent, as I mentioned in the
 thread.)

 Nevertheless, I'll test it as soon as the "normal" 4.4.3.alpha0 ptestlong
 finishes on my Pentium 4, just wait a few hours... ;-)

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