At 08:59 AM 1/21/2008, Kent Johnson wrote: >This is probably of interest to Dick Moores at least... > From What's New in Python 2.6 >http://docs.python.org/dev/whatsnew/2.6.html > >[Note: A release date has not been set for Python 2.6] > >A new variable in the sys module, float_info, is an object containing >information about the platform's floating-point support derived from the >float.h file. Attributes of this object include mant_dig (number of >digits in the mantissa), epsilon (smallest difference between 1.0 and >the next largest value representable), and several others. (Contributed >by Christian Heimes.)
Yes. Thanks, Kent. Dick _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor