random_compat icon indicating copy to clipboard operation
random_compat copied to clipboard

Compatibility library for proposed simplified random number generator

Results 4 random_compat issues
Sort by recently updated
recently updated
newest added

First of all, this is a "must have" addition to the PHP core. Great it is being worked on! Looking at the current implementation, I think there are a few...

...but the first thing I saw was the boolean constructor argument and I didn't like it :) Not sure this is the best fix for it, but you get the...

I looking for a lib to replace a class that generate tokens. I've taken a Random class from FosOAuthBundle but [it seems it is not that good](https://github.com/Payum/Payum/commit/59748392d233783140547ca1240dfae61202a0c6#commitcomment-4667875). Is your lib...

Your library apparently generates floats in the closed interval [0,1]. Many other languages (e.g. Java, JS, C++11, Perl, Python, Ruby) use the half-open interval [0,1) instead. Have you considered this?...