floor() function definition
Greg Ewing
see at my.signature
Thu May 17 00:15:54 EDT 2001
Tim Peters wrote:
>
> So floor() and ceiling()
> return "large" floats unchanged, because they're exact integers already.
If Python ever supports a Scheme-style exact/inexact
distinction, the resulting integer should be tagged as
inexact. (The notion of an inexact integer is a
bit strange, but its necessity seems to be inescapable!)
--
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list