>> I propose, but I'm perhaps missunderstanding.
>>
>> a.lower().floor()
>> a.upper().ceil()
>> a.center().round()
>
> I know about those and always eventually end up using them.  But I
> don't consider them "easy".
>

Maybe include them and call them something like "ilower" and "iupper"?
I'm modeling this on isqrt: for a real number x, x.isqrt() is the
largest integer less than x.sqrt(); here x.ilower() would be the
largest integer less than x.lower().

-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