Skip to content

Commit 7e1585b

Browse files
committed
Fix typo with maxf/minf funcs for Windows
1 parent 2c6b796 commit 7e1585b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

numexpr/msvc_function_stubs.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@
4444
#define hypotf(x, y) ((float)hypot((double)(x), (double)(y)))
4545
#define copysignf(x, y) ((float)copysign((double)(x), (double)(y)))
4646
#define nextafterf(x, y) ((float)nextafter((double)(x), (double)(y)))
47+
#define fmaxf(x, y) ((float)fmax((double)(x), (double)(y)))
48+
#define fminf(x, y) ((float)fmax((double)(x), (double)(y)))
4749
#define ceilf(x) ((float)ceil((double)(x)))
4850
#define hypotf(x) ((float)hypot((double)(x)))
4951
#define rintf(x) ((float)rint((double)(x)))
5052
#define truncf(x) ((float)trunc((double)(x)))
51-
#define fmaxf(x) ((float)fmax((double)(x)))
53+
5254

5355
/* The next are directly called from interp_body.cpp */
5456
#define powf(x, y) ((float)pow((double)(x), (double)(y)))

0 commit comments

Comments
 (0)