On Thu, 22 Nov 2007 00:44:34 -0600, Robert Kern wrote: > Steven D'Aprano wrote: >> Is there a simple, elegant way in Python to get the next float from a >> given one? By "next float", I mean given a float x, I want the smallest >> float larger than x. > > Heh: > > http://mail.python.org/pipermail/python-list/2005-December/357771.html
Damn, I don't remember writing that! :-/ -- Steven. -- http://mail.python.org/mailman/listinfo/python-list