On 18-Sep-09, at 4:22 PM, Craig Citro wrote:
> >> Example: >> >> sage: floor(log(RIF(8)) / log(RIF(2))) >> 3.? >> >> Should this be 2? What if it returned an Integer if there was a >> unique floor (ceiling, etc.) and raised an exception otherwise? >> > > I'm +1 on x.floor()/x.ceil() returning an Integer when possible, and > raising an Exception otherwise. I think this would be okay. 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 -~----------~----~----~----~------~----~------~--~---