Piotr Caban : jscript: Added Math_LN2 implementation.

Alexandre Julliard julliard at winehq.org
Fri Apr 3 10:28:40 CDT 2009


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

Author: Piotr Caban <piotr.caban at gmail.com>
Date:   Thu Apr  2 19:54:39 2009 +0200

jscript: Added Math_LN2 implementation.

---

 dlls/jscript/math.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/jscript/math.c b/dlls/jscript/math.c
index 4f6c049..fc1651c 100644
--- a/dlls/jscript/math.c
+++ b/dlls/jscript/math.c
@@ -98,8 +98,8 @@ static HRESULT Math_LOG10E(DispatchEx *dispex, LCID lcid, WORD flags, DISPPARAMS
 static HRESULT Math_LN2(DispatchEx *dispex, LCID lcid, WORD flags, DISPPARAMS *dp,
         VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp)
 {
-    FIXME("\n");
-    return E_NOTIMPL;
+    TRACE("\n");
+    return math_constant(M_LN2, flags, retv);
 }
 
 static HRESULT Math_LN10(DispatchEx *dispex, LCID lcid, WORD flags, DISPPARAMS *dp,




More information about the wine-cvs mailing list