Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(examples): Add a useful set of high quality pseudo-random number generators #2868

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on Sep 28, 2024

  1. Add a useful set of high quality pseudo-random number generators.

    I ported a number of my pseudo-random number generator implementations from Ruby to Gno, building them be compatible with the standard Rand() implementation, so that any of these can be used as a drop-in replacement for the default PCG algorithm. All of these are faster than PCG, while still having competitive-to-superior statistical properties and predictability resistance. Further, the ISAAC family of generators are cryptographically secure, and when properly seeded, still have no known practical attack vectors.
    wyhaines committed Sep 28, 2024
    Configuration menu
    Copy the full SHA
    b547e8a View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Added the ability to output float64 to the ufmt.Sprintf implementation.

    Revise all of the output to use ufmt.
    wyhaines committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    6c33fb0 View commit details
    Browse the repository at this point in the history
  2. Formatting fixes that were missed.

    Tidy gno.mods; add a Sprintf %f test.
    wyhaines committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    0c29a85 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7efc884 View commit details
    Browse the repository at this point in the history
  4. Fix the %f test.

    wyhaines committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    cceed20 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e64f5c View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Add a test for the strconv.FormatFloat() addition, and filled out spr…

    …intf float formats a bit more to be closer to Go's support.
    wyhaines committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    6facb91 View commit details
    Browse the repository at this point in the history
  2. Tidy.

    wyhaines committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    2ce7d3d View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. Configuration menu
    Copy the full SHA
    2a71509 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    50cf083 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. This appears to be a better fix for this line, based on how `sw.Logge…

    …r.Error` is used elsewhere.
    wyhaines committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    afde11e View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    7f3cc3f View commit details
    Browse the repository at this point in the history