> I speak from a programmatic point of view, though.  I'd like to not be
> surprised that the following doesn't work:
>
> a=sin(floor(RIF( (1.1,1.2) )))
> a.lower()
> a.upper()
>
>
> versus
>
> a=sin(floor(RIF((1.5,2.5))))
> a.lower()
> a.upper()
>

I'm a little confused -- *neither* of those would work. The proposal
is that the return type of floor be Integer, just like it is for every
other model of R. The only difference is that the second one would
raise an exception, since there's no unique floor for [1.5, 2.5].

> In other words, I don't think that the return type of floor() should
> depend on how big the interval is.
>

I agree. The return type is Integer (whenever the function returns).

-cc

--~--~---------~--~----~------------~-------~--~----~
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