SwadicalRag / wasm2lua

wasm2lua: converting WASM into Lua
MIT License
190 stars 10 forks source link

Implement + Optimize LongInt Division #17

Closed MDFL64 closed 5 years ago

MDFL64 commented 5 years ago

Only half of the longint division routines are implemented, only one is implemented correctly, and zero are implemented in a good way. First implement the rest correctly, then optimize. Use the same algorithm as in long.js, which has a Lua version floating around somewhere.

notcake commented 5 years ago

once this issue is resolved you will truly understand my suffering