Skip to content

Commit 3377d38

Browse files
Provide w/a for ICC and recent libmmd library
1 parent 2cc4dd6 commit 3377d38

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mkl_umath/src/mkl_umath_loops.c.src

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ static inline npy_float spacingf(npy_float x) {
154154
return copysignf(nextafterf(fabsf(x), INFINITY), x) - x;
155155
}
156156

157+
#if defined(_MSC_VER) && defined(__INTEL_COMPILER)
158+
extern __inline float __cdecl ldexpf( float _X, int _Y) {
159+
return (float)ldexp(_X, _Y);
160+
}
161+
#endif
157162

158163
/**begin repeat
159164
* Float types

0 commit comments

Comments
 (0)