8000 Windows CI by TomAugspurger · Pull Request #23182 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Windows CI #23182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Oct 18, 2018
Merged
Prev Previous commit
Next Next commit
define isnan, signbit
  • Loading branch information
TomAugspurger committed Oct 17, 2018
commit e6fd3119061abda67ba3ccf17068142d1ad909ec
9 changes: 9 additions & 0 deletions 9 pandas/_libs/src/headers/cmath
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@
#if defined(_MSC_VER) && (_MSC_VER >= 1900)
#include <cmath>
namespace std {
__inline int isnan(double x) { return _isnan(x); }
__inline int signbit(double num) { return _copysign(1.0, num) < 0; }
__inline int notnan(double x) { return !isnan(x); }
}
#else if defined(_MSC_VER)
#include <cmath>
namespace std {
__inline int isnan(double x) { return _isnan(x); }
__inline int signbit(double num) { return _copysign(1.0, num) < 0; }
__inline int notnan(double x) { return x == x; }
}
#else
#include <cmath>

Expand Down
0