[issue44910] Floating point issue

2021-08-13 Thread A wilson
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

[issue44910] Floating point issue

2021-08-13 Thread A wilson
New submission from A wilson : 0.01 + 273.15 should equal 273.16 but in python 3.9.5 or earlier report as 273.159997. -- messages: 399550 nosy: afw2alan priority: normal severity: normal status: open title: Floating point issue type: behavior versions: Python 3.9