Closed
Description
MSVC bug tracker - https://developercommunity.visualstudio.com/content/problem/294290/incorrect-codegen-for-double-equality.html
Once that bug is fixed in a widely available MSVC for python 3 builds we should redefine isnan
/ notnan
to be based on an equality check here.
https://github.com/pandas-dev/pandas/pull/23182/files#diff-467e9a847ab859a085518bc17711fe57R20
Current code works around that MSVC bug by using the libc, isnan
, which works, but can't be inlined, so likely has a little perf cost
https://godbolt.org/z/y550lB
Activity
jbrockmendel commentedon Oct 30, 2019
@chris-b1 any idea if this has been addressed upstream?
chris-b1 commentedon Nov 7, 2019
That bug has been fixed in the most recent version of MSVC - I'm a little disconnected form our build process to know if that's what were using.
jbrockmendel commentedon Nov 8, 2019
Do you know what that version is? In _libs/src/cmath there is a comment "Place upper bound on this check once a fixed MSVC is released"
CLN: remove cmath, closes pandas-dev#23209
TomAugspurger commentedon Nov 8, 2019
jbrockmendel commentedon Dec 21, 2021
do we have a way of checking if this is actionable?