René's URL Explorer Experiment


Title: Fix `random.random()` by ubaidsk · Pull Request #2464 · lcompilers/lpython · GitHub

Open Graph Title: Fix `random.random()` by ubaidsk · Pull Request #2464 · lcompilers/lpython

X Title: Fix `random.random()` by ubaidsk · Pull Request #2464 · lcompilers/lpython

Description: fixes #2382

Open Graph Description: fixes #2382

X Description: fixes #2382

Opengraph URL: https://github.com/lcompilers/lpython/pull/2464

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:e7d02e1b-7ee4-7a8c-2ded-602cbb580501
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB654:216B79:120968B:17BD4E3:696B7001
html-safe-nonce03cc0ba5b47ac4c73298952515a99a108771f20bd144fc6f3f2254dd30d1c206
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjU0OjIxNkI3OToxMjA5NjhCOjE3QkQ0RTM6Njk2QjcwMDEiLCJ2aXNpdG9yX2lkIjoiMTcyNDYxNzI5MTg0OTY4NzA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac86dee8782ecb39288585151b56208230f161e4b224c8377da2bbc02b910f18f9
hovercard-subject-tagpull_request:1688677557
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/lcompilers/lpython/2464/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/794ded3582516e5fe6195f1aff64cae8d71b459b05ae1373856a6564e30dc80e/lcompilers/lpython/pull/2464
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/794ded3582516e5fe6195f1aff64cae8d71b459b05ae1373856a6564e30dc80e/lcompilers/lpython/pull/2464
og:image:altfixes #2382
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameubaidsk
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/lcompilers/lpython git https://github.com/lcompilers/lpython.git
octolytics-dimension-user_id96538276
octolytics-dimension-user_loginlcompilers
octolytics-dimension-repository_id442864346
octolytics-dimension-repository_nwolcompilers/lpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id442864346
octolytics-dimension-repository_network_root_nwolcompilers/lpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lcompilers/lpython/pull/2464#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcompilers%2Flpython%2Fpull%2F2464
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcompilers%2Flpython%2Fpull%2F2464
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=lcompilers%2Flpython
Reloadhttps://github.com/lcompilers/lpython/pull/2464
Reloadhttps://github.com/lcompilers/lpython/pull/2464
Reloadhttps://github.com/lcompilers/lpython/pull/2464
lcompilers https://github.com/lcompilers
lpythonhttps://github.com/lcompilers/lpython
Notifications https://github.com/login?return_to=%2Flcompilers%2Flpython
Fork 173 https://github.com/login?return_to=%2Flcompilers%2Flpython
Star 1.6k https://github.com/login?return_to=%2Flcompilers%2Flpython
Code https://github.com/lcompilers/lpython
Issues 503 https://github.com/lcompilers/lpython/issues
Pull requests 85 https://github.com/lcompilers/lpython/pulls
Actions https://github.com/lcompilers/lpython/actions
Projects 0 https://github.com/lcompilers/lpython/projects
Wiki https://github.com/lcompilers/lpython/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/lcompilers/lpython/security
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
Insights https://github.com/lcompilers/lpython/pulse
Code https://github.com/lcompilers/lpython
Issues https://github.com/lcompilers/lpython/issues
Pull requests https://github.com/lcompilers/lpython/pulls
Actions https://github.com/lcompilers/lpython/actions
Projects https://github.com/lcompilers/lpython/projects
Wiki https://github.com/lcompilers/lpython/wiki
Security https://github.com/lcompilers/lpython/security
Insights https://github.com/lcompilers/lpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Flcompilers%2Flpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Flcompilers%2Flpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/lcompilers/lpython/pull/2464#issue-comment-box
certikhttps://github.com/certik
lcompilers:mainhttps://github.com/lcompilers/lpython/tree/main
ubaidsk:fix_random2https://github.com/ubaidsk/lpython/tree/fix_random2
Fix random.random() https://github.com/lcompilers/lpython/pull/2464#top
certikhttps://github.com/certik
lcompilers:mainhttps://github.com/lcompilers/lpython/tree/main
ubaidsk:fix_random2https://github.com/ubaidsk/lpython/tree/fix_random2
Conversation 7 https://github.com/lcompilers/lpython/pull/2464
Commits 4 https://github.com/lcompilers/lpython/pull/2464/commits
Checks 0 https://github.com/lcompilers/lpython/pull/2464/checks
Files changed https://github.com/lcompilers/lpython/pull/2464/files
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.co/hiddenchars
https://github.com/lcompilers/lpython/pull/{{ revealButtonHref }}
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
Jan 21, 2024https://github.com/lcompilers/lpython/pull/2464#issue-2092604324
#2382https://github.com/lcompilers/lpython/issues/2382
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
Jan 21, 2024https://github.com/lcompilers/lpython/pull/2464#issuecomment-1902643479
lfortran/lfortran#3156https://github.com/lfortran/lfortran/pull/3156
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
Jan 21, 2024 https://github.com/lcompilers/lpython/pull/2464#ref-pullrequest-2092603661
Fix random_number() lfortran/lfortran#3156 https://github.com/lfortran/lfortran/pull/3156
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
Jan 21, 2024https://github.com/lcompilers/lpython/pull/2464#issuecomment-1902809441
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.com/certik
certikhttps://github.com/certik
Jan 22, 2024https://github.com/lcompilers/lpython/pull/2464#issuecomment-1902840400
#2455https://github.com/lcompilers/lpython/issues/2455
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.com/ubaidsk
lfortran_intrinsics.c: Fix random_number()https://github.com/lcompilers/lpython/pull/2464/commits/c610e31585e8fa01bc9c31a9a219252820ee2729
c610e31https://github.com/lcompilers/lpython/pull/2464/commits/c610e31585e8fa01bc9c31a9a219252820ee2729
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
force-pushedhttps://github.com/lcompilers/lpython/compare/02a3b61074b751d17b21aefbb3281a999260d699..18b6ef4a756032fb7d59e372726a2c6d3e521d7c
02a3b61https://github.com/lcompilers/lpython/commit/02a3b61074b751d17b21aefbb3281a999260d699
18b6ef4https://github.com/lcompilers/lpython/commit/18b6ef4a756032fb7d59e372726a2c6d3e521d7c
Compare https://github.com/lcompilers/lpython/compare/02a3b61074b751d17b21aefbb3281a999260d699..18b6ef4a756032fb7d59e372726a2c6d3e521d7c
January 23, 2024 16:53https://github.com/lcompilers/lpython/pull/2464#event-11573275988
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
January 23, 2024 17:12https://github.com/lcompilers/lpython/pull/2464#event-11573557537
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
January 23, 2024 17:14https://github.com/lcompilers/lpython/pull/2464#event-11573589132
ubaidskhttps://github.com/ubaidsk
January 23, 2024 22:49https://github.com/lcompilers/lpython/pull/2464#commits-pushed-c25abe9
https://github.com/ubaidsk
lfortran_intrinsics.c: Use nanoseconds to seed randomhttps://github.com/lcompilers/lpython/pull/2464/commits/c25abe9cdfad5a168d4d3d70c90963667212dbee
c25abe9https://github.com/lcompilers/lpython/pull/2464/commits/c25abe9cdfad5a168d4d3d70c90963667212dbee
https://github.com/ubaidsk
TEST: Add for random()https://github.com/lcompilers/lpython/pull/2464/commits/01751d91cb52973aac58deb1108bf14a9d79c598
01751d9https://github.com/lcompilers/lpython/pull/2464/commits/01751d91cb52973aac58deb1108bf14a9d79c598
https://github.com/certik
certikhttps://github.com/certik
Jan 23, 2024 https://github.com/lcompilers/lpython/pull/2464#pullrequestreview-1839509153
View reviewed changes https://github.com/lcompilers/lpython/pull/2464/files
https://github.com/ubaidsk
TEST: Print vals and comment out failing testhttps://github.com/lcompilers/lpython/pull/2464/commits/1af763b0244e5ea6a1fae0e4c1c9288e5660499a
1af763bhttps://github.com/lcompilers/lpython/pull/2464/commits/1af763b0244e5ea6a1fae0e4c1c9288e5660499a
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
force-pushedhttps://github.com/lcompilers/lpython/compare/18b6ef4a756032fb7d59e372726a2c6d3e521d7c..1af763b0244e5ea6a1fae0e4c1c9288e5660499a
18b6ef4https://github.com/lcompilers/lpython/commit/18b6ef4a756032fb7d59e372726a2c6d3e521d7c
1af763bhttps://github.com/lcompilers/lpython/commit/1af763b0244e5ea6a1fae0e4c1c9288e5660499a
Compare https://github.com/lcompilers/lpython/compare/18b6ef4a756032fb7d59e372726a2c6d3e521d7c..1af763b0244e5ea6a1fae0e4c1c9288e5660499a
January 23, 2024 18:21https://github.com/lcompilers/lpython/pull/2464#event-11574367956
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
Jan 23, 2024 https://github.com/lcompilers/lpython/pull/2464#pullrequestreview-1839562748
View reviewed changes https://github.com/lcompilers/lpython/pull/2464/files/1af763b0244e5ea6a1fae0e4c1c9288e5660499a
integration_tests/test_random.pyhttps://github.com/lcompilers/lpython/pull/2464/files/1af763b0244e5ea6a1fae0e4c1c9288e5660499a#diff-cd0cad6e6506fbf5f623b81f14a0a1c3ce34c10e5020568e932c4a21b8719949
ubaidskhttps://github.com/ubaidsk
Jan 23, 2024https://github.com/lcompilers/lpython/pull/2464#discussion_r1463758507
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@certikhttps://github.com/certik
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
January 23, 2024 18:26https://github.com/lcompilers/lpython/pull/2464#event-11574416621
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
January 23, 2024 18:27https://github.com/lcompilers/lpython/pull/2464#event-11574421866
https://github.com/certik
certikhttps://github.com/certik
Jan 23, 2024 https://github.com/lcompilers/lpython/pull/2464#pullrequestreview-1840043748
View reviewed changes https://github.com/lcompilers/lpython/pull/2464/files/1af763b0244e5ea6a1fae0e4c1c9288e5660499a
certikhttps://github.com/certik
https://github.com/lcompilers/lpython/pull/2464#pullrequestreview-1840043748
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
January 24, 2024 04:58https://github.com/lcompilers/lpython/pull/2464#event-11579145468
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
Jan 26, 2024https://github.com/lcompilers/lpython/pull/2464#issuecomment-1912616398
@certikhttps://github.com/certik
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.com/certik
certikhttps://github.com/certik
693afeehttps://github.com/lcompilers/lpython/commit/693afee9a6bd97b325832b595f559ca069fa5645
Jan 26, 2024https://github.com/lcompilers/lpython/pull/2464#event-11613417315
https://github.com/certik
certikhttps://github.com/certik
Jan 26, 2024https://github.com/lcompilers/lpython/pull/2464#issuecomment-1912716110
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.com/ubaidsk
ubaidskhttps://github.com/ubaidsk
January 26, 2024 21:25https://github.com/lcompilers/lpython/pull/2464#event-11613421578
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flcompilers%2Flpython%2Fpull%2F2464
https://github.com/certik
certik https://github.com/certik
https://github.com/lcompilers/lpython/pull/2464/files/1af763b0244e5ea6a1fae0e4c1c9288e5660499a
The random numbers do not seem to work https://github.com/lcompilers/lpython/issues/2382
Please reload this pagehttps://github.com/lcompilers/lpython/pull/2464
https://github.com/ubaidsk
https://github.com/certik
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.