Closed YingboMa closed 3 years ago
Oh, right. It should be new(x, y)
, shouldn't it.
Yeah. Why is this necessary?
So it's copy-paste-able from the printing
julia> Xorshifts.Xoroshiro128()
RandomNumbers.Xorshifts.Xoroshiro128(0x862c413b9d2f217c, 0x5ce0ec59c094162b)
julia> RandomNumbers.Xorshifts.Xoroshiro128(0x862c413b9d2f217c, 0x5ce0ec59c094162b)
RandomNumbers.Xorshifts.Xoroshiro128(0x862c413b9d2f217c, 0x5ce0ec59c094162b)
It's a standard across Julia for 2-argument show methods to be round-trippable.
Oh I see, I didn't realize this method is not automatically generated.
Could this please get a tag?
Hi, thanks for the pr, but I'm sorry I couldn't get what this inner constructor is for... Doesn't it make all
Xoroshiro128(x, y)
calls from outside return aXoroshiro128(0, 0)
?