[DiscordArchive] Errr. (x >> 9), but (x & (1 << 10) - 1)? Why??
[DiscordArchive] Errr. (x >> 9), but (x & (1 << 10) - 1)? Why??
Archived author: schlumpf • Posted: 2018-06-04T07:17:45.873000+00:00
Original source
As long as you guys have more than hunches and can show in code that it is, go ahead and change it.
I know the stuff on wiki looks weird, and I doN't know how to do `from_float`, but it is what I was able to get from the game. Everything else seems like speculation.
Archived author: Quantam • Posted: 2018-06-04T07:18:10.825000+00:00
Original source
Have the disassembly either for multiply or convert to/from float?
Archived author: Quantam • Posted: 2018-06-04T07:19:18.590000+00:00
Original source
Either of those would make obvious both the divisor and whether it's using two's complement
Archived author: schlumpf • Posted: 2018-06-04T07:22:51.938000+00:00
Original source
I do not have it right here.
Archived author: schlumpf • Posted: 2018-06-04T07:22:57.820000+00:00
Original source
Also, the disassembly was not obvious at all.
Archived author: schlumpf • Posted: 2018-06-04T07:23:04.651000+00:00
Original source
Otherwise there wouldn't be such confusion.
Archived author: schlumpf • Posted: 2018-06-04T07:23:18.468000+00:00
Original source
Also, there never was any from float disassembly, obviously.
Archived author: Quantam • Posted: 2018-06-04T07:24:15.666000+00:00
Original source
Okay. If you run across it I'll take a look.
Archived author: Quantam • Posted: 2018-06-04T07:24:35.686000+00:00
Original source
Need multiply specifically
Archived author: Quantam • Posted: 2018-06-04T07:25:20.052000+00:00
Original source
Or divide. Or anything except addition/subtraction (though I suppose those would work as well if they're using something really weird)