"Strong typing vs. strong testing"

Erik Max Francis max at alcyone.com
Wed Sep 29 02:03:55 EDT 2010


Keith Thompson wrote:
> Erik Max Francis <max at alcyone.com> writes:
> [...]
>>  >>> print c # floating point accuracy aside
>> 299792458.0 m/s
> 
> Actually, the speed of light is exactly 299792458.0 m/s by
> definition.  (The meter and the second are defined in terms of the
> same wavelength of light; this was changed relatively recently.)

I know.  Hence why I wrote the comment "floating point accuracy aside" 
when printing it.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
  San Jose, CA, USA && 37 18 N 121 57 W && AIM/Y!M/Skype erikmaxfrancis
   If the past sits in judgment on the present, the future will be lost.
    -- Winston Churchill



More information about the Python-list mailing list