[Bug 30563] WinBuilder v082: Error "Invalid floating point operation." occuring when running application.

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 2 09:21:10 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=30563

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |jscript

--- Comment #7 from Anastasius Focht <focht at gmx.net> 2012-05-02 09:21:10 CDT ---
Hello,

good news I found the problem ;-)
The issue is pretty much the same as bug 30465 but it's Wine's own jscript
engine that needs to be fixed.

Consider the following snippet:

http://source.winehq.org/git/wine.git/blob/c9c8c6165eafc91e0c1c11fe5563db613ecc35b8:/dlls/jscript/jscript.h#l414

--- snip ---
 414 static inline void num_set_val(VARIANT *v, DOUBLE d)
 415 {
 416     if(d == (DOUBLE)(INT)d) {
 417         V_VT(v) = VT_I4;
 418         V_I4(v) = d;
 419     }else {
 420         V_VT(v) = VT_R8;
 421         V_R8(v) = d;
 422     }
 423 }
--- snip ---

The application is fully usable with both parts fixed.

GUI and downloads are stable.

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list