Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions numexpr/numexpr_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include "mkl_vml.h"
#include "mkl_service.h"
#endif
#include <cmath>

#ifdef _WIN32
#ifndef __MINGW32__
Expand All @@ -51,12 +52,12 @@
msvc_function_stubs contains windows alternatives */
/* Due to casting problems (normally return ints not bools, easiest to define
non-overloaded wrappers for these functions) */
inline bool isfinitef_(float x) { return !!::isfinite(x); }
inline bool isnanf_(float x) { return !!::isnan(x); }
inline bool isfinited(double x) { return !!::isfinite(x); }
inline bool isnand(double x) { return !!::isnan(x); }
inline bool isinff_(float x) { return !!::isinf(x); }
inline bool isinfd(double x) { return !!::isinf(x); }
inline bool isfinitef_(float x) { return !!std::isfinite(x); }
inline bool isnanf_(float x) { return !!std::isnan(x); }
inline bool isfinited(double x) { return !!std::isfinite(x); }
inline bool isnand(double x) { return !!std::isnan(x); }
inline bool isinff_(float x) { return !!std::isinf(x); }
inline bool isinfd(double x) { return !!std::isinf(x); }
#endif

#endif // NUMEXPR_CONFIG_HPP
Loading