René's URL Explorer Experiment


Title: Implement round(number, digits) for digits != 0 by janrg · Pull Request #1521 · RustPython/RustPython · GitHub

Open Graph Title: Implement round(number, digits) for digits != 0 by janrg · Pull Request #1521 · RustPython/RustPython

X Title: Implement round(number, digits) for digits != 0 by janrg · Pull Request #1521 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: For most cases uses rust's round function to round via: round(number, decimals) = round(number * 10^decimals) / 10^decimals skips rounding if rounding would not affect digits within double pre...

X Description: For most cases uses rust's round function to round via: round(number, decimals) = round(number * 10^decimals) / 10^decimals skips rounding if rounding would not affect digits within double...

Opengraph URL: https://github.com/RustPython/RustPython/pull/1521

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:680ea006-ad42-19f8-ac89-ddd8bb354936
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC550:4BB79:369FAD8:45CAFB4:6B01F633
html-safe-noncedb003cb2c9d5db63a39d570db2670f3115468c7912855548023bc745e48cc5d8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTUwOjRCQjc5OjM2OUZBRDg6NDVDQUZCNDo2QjAxRjYzMyIsInZpc2l0b3JfaWQiOiI0NDQzODA1NzU1ODk1ODM4MjU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3d7a1d46aca1d60a47c7558650c4591a3b9bf22b9d0a5976846069b51408e6db
hovercard-subject-tagpull_request:327545883
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/RustPython/RustPython/1521/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/04a1fc0f4b0f5d8627fd4ac3ed1dc779de749aecd01c595f9ec43097ada62c81/RustPython/RustPython/pull/1521
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/04a1fc0f4b0f5d8627fd4ac3ed1dc779de749aecd01c595f9ec43097ada62c81/RustPython/RustPython/pull/1521
og:image:altFor most cases uses rust's round function to round via: round(number, decimals) = round(number * 10^decimals) / 10^decimals skips rounding if rounding would not affect digits within double pre...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejanrg
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/1521#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F1521
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F1521
Sign uphttps://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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/1521
Reloadhttps://github.com/RustPython/RustPython/pull/1521
Reloadhttps://github.com/RustPython/RustPython/pull/1521
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests133 (133)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
https://github.com/RustPython/RustPython
windelbouwmanhttps://github.com/windelbouwman
RustPython:masterhttps://github.com/RustPython/RustPython/tree/master
janrg:round_to_n_decimalshttps://github.com/janrg/RustPython/tree/round_to_n_decimals
Conversationhttps://github.com/RustPython/RustPython/pull/1521
Commits4 (4)https://github.com/RustPython/RustPython/pull/1521/commits
Checkshttps://github.com/RustPython/RustPython/pull/1521/checks
Files changedhttps://github.com/RustPython/RustPython/pull/1521/files
Implement round(number, digits) for digits != 0https://github.com/RustPython/RustPython/pull/1521#top
windelbouwmanhttps://github.com/windelbouwman
RustPython:masterhttps://github.com/RustPython/RustPython/tree/master
janrg:round_to_n_decimalshttps://github.com/janrg/RustPython/tree/round_to_n_decimals
https://github.com/janrg
janrghttps://github.com/janrg
Oct 13, 2019https://github.com/RustPython/RustPython/pull/1521#issue-506310161
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1521
janrghttps://github.com/janrg
October 13, 2019 13:04https://github.com/RustPython/RustPython/pull/1521#commits-pushed-b858ae8
https://github.com/janrg
Implement round(number, digits) for digits != 0https://github.com/RustPython/RustPython/pull/1521/commits/b858ae87761b261a1ba88b72a3c6ca6d8def1788
b858ae8https://github.com/RustPython/RustPython/pull/1521/commits/b858ae87761b261a1ba88b72a3c6ca6d8def1788
https://github.com/janrg
Fix formattinghttps://github.com/RustPython/RustPython/pull/1521/commits/458fa3cb7bd81d08215a711aea30bc539e98330a
458fa3chttps://github.com/RustPython/RustPython/pull/1521/commits/458fa3cb7bd81d08215a711aea30bc539e98330a
https://github.com/janrg
Fix linter errorshttps://github.com/RustPython/RustPython/pull/1521/commits/122aa96887d9f631778b048c40756a65ba05f54e
122aa96https://github.com/RustPython/RustPython/pull/1521/commits/122aa96887d9f631778b048c40756a65ba05f54e
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Oct 13, 2019https://github.com/RustPython/RustPython/pull/1521#issuecomment-541430765
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1521
https://github.com/janrg
janrghttps://github.com/janrg
Oct 13, 2019https://github.com/RustPython/RustPython/pull/1521#issuecomment-541431276
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1521
https://github.com/janrg
Add test snippets, fix rounding for very small numbershttps://github.com/RustPython/RustPython/pull/1521/commits/4fd38e622012f3076fd2ab0f8e3f5a171de0c569
4fd38e6https://github.com/RustPython/RustPython/pull/1521/commits/4fd38e622012f3076fd2ab0f8e3f5a171de0c569
https://github.com/janrg
janrghttps://github.com/janrg
force-pushedhttps://github.com/RustPython/RustPython/compare/01dc6cca483641835fda03aad154544aabc86f8e..4fd38e622012f3076fd2ab0f8e3f5a171de0c569
01dc6cchttps://github.com/RustPython/RustPython/commit/01dc6cca483641835fda03aad154544aabc86f8e
4fd38e6https://github.com/RustPython/RustPython/commit/4fd38e622012f3076fd2ab0f8e3f5a171de0c569
Compare https://github.com/RustPython/RustPython/compare/01dc6cca483641835fda03aad154544aabc86f8e..4fd38e622012f3076fd2ab0f8e3f5a171de0c569
October 14, 2019 15:06https://github.com/RustPython/RustPython/pull/1521#event-2710780010
https://github.com/janrg
janrghttps://github.com/janrg
Oct 14, 2019https://github.com/RustPython/RustPython/pull/1521#issuecomment-541756744
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1521
https://github.com/windelbouwman
windelbouwmanhttps://github.com/windelbouwman
6f624c6https://github.com/RustPython/RustPython/commit/6f624c6f9595ad1743a784f105f773c1a8acb773
Oct 14, 2019https://github.com/RustPython/RustPython/pull/1521#event-2711383181
https://github.com/lifthrasiir
lifthrasiirhttps://github.com/lifthrasiir
Oct 21, 2019 https://github.com/RustPython/RustPython/pull/1521#ref-issue-509950710
round(number, digits) is incorrect for non-zero digits #1554 https://github.com/RustPython/RustPython/issues/1554
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F1521
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1521
Please reload this pagehttps://github.com/RustPython/RustPython/pull/1521
https://github.com/janrg
https://github.com/youknowone
https://github.com/windelbouwman
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.