File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 40
40
#include " mkl_vml.h"
41
41
#include " mkl_service.h"
42
42
#endif
43
+ #include < cmath>
43
44
44
45
#ifdef _WIN32
45
46
#ifndef __MINGW32__
51
52
msvc_function_stubs contains windows alternatives */
52
53
/* Due to casting problems (normally return ints not bools, easiest to define
53
54
non-overloaded wrappers for these functions) */
54
- inline bool isfinitef_ (float x) { return !!::isfinite (x); }
55
- inline bool isnanf_ (float x) { return !!::isnan (x); }
56
- inline bool isfinited (double x) { return !!::isfinite (x); }
57
- inline bool isnand (double x) { return !!::isnan (x); }
58
- inline bool isinff_ (float x) { return !!::isinf (x); }
59
- inline bool isinfd (double x) { return !!::isinf (x); }
55
+ inline bool isfinitef_ (float x) { return !!std ::isfinite (x); }
56
+ inline bool isnanf_ (float x) { return !!std ::isnan (x); }
57
+ inline bool isfinited (double x) { return !!std ::isfinite (x); }
58
+ inline bool isnand (double x) { return !!std ::isnan (x); }
59
+ inline bool isinff_ (float x) { return !!std ::isinf (x); }
60
+ inline bool isinfd (double x) { return !!std ::isinf (x); }
60
61
#endif
61
62
62
63
#endif // NUMEXPR_CONFIG_HPP
You can’t perform that action at this time.
0 commit comments