Jacek Caban : msvcrt: Provide exp2 in importlib.

Alexandre Julliard julliard at winehq.org
Mon Dec 9 16:57:38 CST 2019


Module: wine
Branch: master
Commit: bdf905d661cd3cd61fb2dbaa5ddd9e641f421ffb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bdf905d661cd3cd61fb2dbaa5ddd9e641f421ffb

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Dec  6 14:48:11 2019 +0100

msvcrt: Provide exp2 in importlib.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msvcrt/mathf.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/msvcrt/mathf.c b/dlls/msvcrt/mathf.c
index 9f27e64122..4aff6d7008 100644
--- a/dlls/msvcrt/mathf.c
+++ b/dlls/msvcrt/mathf.c
@@ -37,3 +37,7 @@ float sqrtf(float x) { return sqrt(x); }
 float floorf(float x) { return floor(x); }
 float ceilf(float x) { return ceil(x); }
 #endif
+
+#if _MSVCR_VER < 120
+double exp2(double x) { return pow(2.0, x); }
+#endif




More information about the wine-cvs mailing list