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

Fix random.random() #2464

Merged
merged 4 commits into from
Jan 26, 2024
Merged

Fix random.random() #2464

merged 4 commits into from
Jan 26, 2024

Commits on Jan 23, 2024

  1. Configuration menu
    Copy the full SHA
    c610e31 View commit details
    Browse the repository at this point in the history
  2. lfortran_intrinsics.c: Use nanoseconds to seed random

    This ensures srand() gets different (far-away) values for two
    subsequent executions of the compiler.
    Shaikh-Ubaid committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    c25abe9 View commit details
    Browse the repository at this point in the history
  3. TEST: Add for random()

    Shaikh-Ubaid committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    01751d9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1af763b View commit details
    Browse the repository at this point in the history