bnmnetp/skulpt — pull request #55 by blacatena (2013-02-25 21:52:32+00:00)
Title: Num types

Here we go. Have fun. I hope it will be straightforward... do you have a tool like DiffMerge that you use, to make it easy?

I put a program t999.py into test, but not test/run, since I don't have all the accompanying tables, and it's big. It does every combination of various types of numeric operations to compare the results, but... I don't have it working yet. It hangs on both Skulpt and Python, because some operations (a giant long raised to a giant long power) make both crazy. I forget how I solved that problem before, I think by hardcoding it to bypass the offending operations. I included it as a foundation. There will still be minor differences, but mostly in output format (because, for example, the precision on Javascript math is just different from the Python standard).