floor() function definition

Greg Ewing see at my.signature
Thu May 17 00:47:38 EDT 2001


Dev_NuLL wrote:
> 
> this is a programer's function, not a common math function

They *are* used in mathematics, but they're not spelled
'floor' and 'ceil'; they're represented by L-shaped
bracket things:
                       _   _
  |_ x _|     and     |  x  |

or at least that's as close as I can get to drawing
them in ASCII.

> it cannot be explained by a simple formula.

Ummm... what has that got to do with anything?
Mathematicians routinely use notations which represent
things which can't be "explained" by a "simple formula".
Often that's why they invented the notation!

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