floating point math results question

Steve Holden sholden at holdenweb.com
Fri Jan 25 18:06:09 CET 2002


"Courageous" <jkraska at san.rr.com> wrote in message
news:cn035use1sgi4bt4dvuca17b6qit9jbe3l at 4ax.com...
>
> >The results should be 0.8 and that's it.
>
> First, this question is raised here often. Search http://www.dejanews.com
> for detailed discussion on the matter.
>
> Second, as an academic exercise, you may now attempt to represent the
> number 0.8 as a 32 bit binary value. Summarize and we'll review. :-)
>
Or, to save time, simply read

    http://www.python.org/doc/current/tut/node14.html

regards
 Steve
--
Consulting, training, speaking: http://www.holdenweb.com/
Python Web Programming: http://pydish.holdenweb.com/pwp/








More information about the Python-list mailing list