A wilson added the comment:
Eric,
I was unaware of this document and its implementation in python.
where
0.01+0.15 = 0.16 but 0.01+273.15=273.159997
the latter which should be 273.16 which is triple point temperature of water in
Kelvin.
This floating point variance explains some if the conditional test failures I
have encountered.
regards
Alan
Get Outlook for Android<https://aka.ms/ghei36>
From: report=bugs.python@roundup.psfhosted.org
on behalf of Eric V. Smith
Sent: Friday, 13 August 2021, 21:52
To: afw2a...@outlook.com
Subject: [issue44910] Floating point issue
Eric V. Smith added the comment:
This a limitation of the floating point type that python uses. See
https://docs.python.org/3/tutorial/floatingpoint.html
--
nosy: +eric.smith
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue44910>
___
--
___
Python tracker
<https://bugs.python.org/issue44910>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com