On 17-Sep-09, at 3:16 PM, David Harvey wrote:

>
> I disagree with this change. One of the main purposes of interval
> arithmetic is to be able to take a function f(x) that operates on
> floats, and pass in intervals instead, to determine the possible range
> of outputs a given input interval could produce. This change violates
> that paradigm. The author of f(x) shouldn't need to care whether they
> are operating on floats or intervals.

As just such an author, I found myself needing to differentiate  
between floor on 0.2 and floor on [0.19, 0.21].  That was the real  
"violation of paradigm".  If the interval contains arbitrarily small  
integers, throw an error.  If not, return me the largest one such that  
t is less than the entire interval.

Nick

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to