[Python-Dev] float formatting
Dennis Allison
allison at shasta.stanford.edu
Sun Apr 26 21:29:38 CEST 2009
Floating point printing is tricky, as I am sure you know. You might
want to refrefresh your understanding by consulting the literture--I
know I would. For example, you might want to look at
http://portal.acm.org/citation.cfm?id=93559
Guy Steele's paper:
Guy L. Steele , Jon L. White, How to print floating-point numbers accurately, ACM SIGPLAN Notices, v.39 n.4, April 2004
is a classic and worthy of a read.
More information about the Python-Dev
mailing list