On May 3, 3:32 pm, Dave Angel <da...@ieee.org> wrote: > What I'm surprised at is that nobody has pointed out that the logn > version is also generally more accurate, given traditional floats. > Usually getting the answer accurate (given the constraints of finite > precision intermediates) is more important than performance, but in this > case they go hand in hand.
Well!! That's a slant that I was not aware of -- though fairly obvious on second thought. Thanks Dave. -- http://mail.python.org/mailman/listinfo/python-list