Giter Club home page Giter Club logo

Comments (2)

phobos2077 avatar phobos2077 commented on June 26, 2024

Seems like vanilla issue, error must be somewhere here:

0046A2C0 loc_46A2C0:                                  ; op_sub_+DC�j
0046A2C0            mov     eax, [esp+34h+var_20]
0046A2C4            xor     ebp, ebp
0046A2C6            mov     dword ptr [esp+34h+var_34], eax
0046A2C9            mov     dword ptr [esp+34h+var_34+4], ebp
0046A2CD            fild    [esp+34h+var_34]
0046A2D0            fsubr   [esp+34h+var_24]
0046A2D4
0046A2D4 loc_46A2D4:                                  ; op_sub_+E6�j
0046A2D4            fstp    [esp+34h+var_28]
0046A2D8            mov     ebx, [esp+34h+var_28]
0046A2DC            lea     edx, [ecx+24h]
0046A2DF            mov     eax, [ecx+1Ch]

var_20 is the second (integer) operand. Seems like it should convert integer to float but it does something like reinterpret_cast<float> instead.

from sfall.

phobos2077 avatar phobos2077 commented on June 26, 2024

Turns out on September 11, 2014 I fixed the same issue in op_div and op_mult (on SVN repo), but apparently missed op_sub. Surprising this had to wait 9 years to get fixed.

from sfall.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.