Created
February 8, 2018 03:26
-
-
Save hexgnu/8790906639b0df0b1a27b56f267a2cae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _PANDAS_MATH_H_ | |
#define _PANDAS_MATH_H_ | |
#if defined(_MSC_VER) && (_MSC_VER < 1800) | |
#include <cmath> | |
namespace std { | |
__inline int signbit(double num) { return _copysign(1.0, num) < 0; } | |
} | |
#else | |
#include <cmath> | |
#endif | |
#endif | |
# OR | |
#ifndef _PANDAS_MATH_H_ | |
#define _PANDAS_MATH_H_ | |
#if defined(_MSC_VER) && (_MSC_VER < 1800) | |
#include <cmath> | |
using namespace std; | |
__inline int signbit(double num) { return _copysign(1.0, num) < 0; } | |
#else | |
#include <cmath> | |
#endif | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment