kyren / piccolo

An experimental stackless Lua VM implemented in pure Rust
Creative Commons Zero v1.0 Universal
1.62k stars 59 forks source link

match math.randomseed to PUC-Lua #49

Closed Jengamon closed 4 months ago

Jengamon commented 4 months ago

The math.randomseed(x, y) impl might be a little extra.

Is no longer extra.

kyren commented 4 months ago

The math.randomseed(x, y) impl might be a little extra.

It's a little much, but I have absolutely no idea what the best thing to do would be, so I would just be inclined to pick something simple.

How about 32 bytes made up of [low,high,low,high]?

Jengamon commented 4 months ago

git is a pain, will reopen in clean branch