[SciPy-dev] K2C accepts negative valued input

Charles R Harris charlesr.harris at gmail.com
Sun Sep 13 23:10:25 EDT 2009


On Sun, Sep 13, 2009 at 8:49 PM, David Goldsmith <d.l.goldsmith at gmail.com>wrote:

> Is the following behavior:
>
> >>> from scipy.constants.constants import K2C
> >>> K2C(-40)
> -313.14999999999998
>
> a bug or a feature?
>
> (I know I've read about sub-absolute-zero temperature physics, e.g.,
> http://cryo.gsfc.nasa.gov/introduction/neg_Kelvin.html, but, quoting that
> site: "Physicists have defined a negative absolute temperature, but it's a
> bit flakey...")
>
>
It's a bit flakey. Raising an error would more likely indicate a problem
than not.

Chuck

>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20090913/82298bd2/attachment.html>


More information about the SciPy-Dev mailing list