Significant digits in a float?

Roy Smith roy at panix.com
Tue Apr 29 20:45:30 EDT 2014


In article <8td53bxud5.ln2 at news.ducksburg.com>,
 Adam Funk <a24061 at ducksburg.com> wrote:

> On 2014-04-29, Roy Smith wrote:
> 
> > Another possibility is that they're latitude/longitude coordinates, some 
> > of which are given to the whole degree, some of which are given to 
> > greater precision, all the way down to the ten-thousandth of a degree.
> 
> That makes sense.  1° of longitude is about 111 km at the equator,
> 78 km at 45°N or S, & 0 km at the poles.
> 
> 
> "A man pitches his tent, walks 1 km south, walks 1 km east, kills a
> bear, & walks 1 km north, where he's back at his tent.  What color is
> the bear?"  ;-)

Assuming he shot the bear, red.



More information about the Python-list mailing list