On May 11, 2007, at 11:31 AM, Michel wrote:

>
> Thanks!
>
> I am sorry however but I think this implementation is morally wrong. I
> think floor and ceil should
> throw a ValueError
> when their value is not uniquely determined, i.e. when the interval
> contains an integer.
> After all the point of an IntervalField is to have results which are
> guaranteed to be correct.

I would want the floor function to return an element of the  
IntegerInterval ring. Sadly it does not exist as far as I know.

David


--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to