| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:7ab833a8-420e-217f-ae50-81be0fb5ce99 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D390:52BC4:20BC4DA:2DBC7CB:6AFA8881 |
| html-safe-nonce | 3b8027840d033db7786ea04eb3801c4333bb344c8274f0c2bab20eeb64d3d58d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzkwOjUyQkM0OjIwQkM0REE6MkRCQzdDQjo2QUZBODg4MSIsInZpc2l0b3JfaWQiOiIyNTA0MTgyOTM0MjkwNDY2OTQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b1b7b277b480f53421b20f99ae92deffadb141636cec71a34af8ab99e65614ee |
| hovercard-subject-tag | pull_request:5271007368 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/TheAlgorithms/Java/7752/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7bd6123e3678c42c3774f5e0ada49e99254bfac381fce3c4270f166110135bda/TheAlgorithms/Java/pull/7752 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7bd6123e3678c42c3774f5e0ada49e99254bfac381fce3c4270f166110135bda/TheAlgorithms/Java/pull/7752 |
| og:image:alt | Summary
Use Math.multiplyExact so Pow.pow throws ArithmeticException instead of silently wrapping when a result exceeds long range.
Document the overflow behavior.
Fixes #7751 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Prasad-Pitke |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-cache |
| go-import | github.com/TheAlgorithms/Java git https://github.com/TheAlgorithms/Java.git |
| octolytics-dimension-user_id | 20487725 |
| octolytics-dimension-user_login | TheAlgorithms |
| octolytics-dimension-repository_id | 63477660 |
| octolytics-dimension-repository_nwo | TheAlgorithms/Java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63477660 |
| octolytics-dimension-repository_network_root_nwo | TheAlgorithms/Java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/TheAlgorithms/Java/pull/7752#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJava%2Fpull%2F7752 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJava%2Fpull%2F7752 |
| 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=TheAlgorithms%2FJava |
| Reload | https://github.com/TheAlgorithms/Java/pull/7752 |
| Reload | https://github.com/TheAlgorithms/Java/pull/7752 |
| Reload | https://github.com/TheAlgorithms/Java/pull/7752 |
| TheAlgorithms | https://github.com/TheAlgorithms |
| Java | https://github.com/TheAlgorithms/Java |
| Code | https://github.com/TheAlgorithms/Java |
| Issues3 (3) | https://github.com/TheAlgorithms/Java/issues |
| Pull requests17 (17) | https://github.com/TheAlgorithms/Java/pulls |
| Actions | https://github.com/TheAlgorithms/Java/actions |
| Security and quality | https://github.com/TheAlgorithms/Java/security |
| Insights | https://github.com/TheAlgorithms/Java/pulse |
| https://github.com/TheAlgorithms/Java |
| DenizAltunkapan | https://github.com/DenizAltunkapan |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Java/tree/master |
| Prasad-Pitke:fix/pow-overflow-check-pr | https://github.com/Prasad-Pitke/Java/tree/fix/pow-overflow-check-pr |
| Conversation | https://github.com/TheAlgorithms/Java/pull/7752 |
| Commits2 (2) | https://github.com/TheAlgorithms/Java/pull/7752/commits |
| Checks | https://github.com/TheAlgorithms/Java/pull/7752/checks |
| Files changed | https://github.com/TheAlgorithms/Java/pull/7752/files |
| Detect overflow in Pow.pow | https://github.com/TheAlgorithms/Java/pull/7752#top |
| DenizAltunkapan | https://github.com/DenizAltunkapan |
| TheAlgorithms:master | https://github.com/TheAlgorithms/Java/tree/master |
| Prasad-Pitke:fix/pow-overflow-check-pr | https://github.com/Prasad-Pitke/Java/tree/fix/pow-overflow-check-pr |
|
| https://github.com/Prasad-Pitke |
| Prasad-Pitke | https://github.com/Prasad-Pitke |
| Nov 12, 2026 | https://github.com/TheAlgorithms/Java/pull/7752#issue-6342221702 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7752 |
| #7751 | https://github.com/TheAlgorithms/Java/issues/7751 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7752 |
|
| https://github.com/Prasad-Pitke |
| Use Math.multiplyExact for overflow handling in pow | https://github.com/TheAlgorithms/Java/pull/7752/commits/dd077d34664f2de2663e3754c6115582a249f9cb |
| dd077d3 | https://github.com/TheAlgorithms/Java/pull/7752/commits/dd077d34664f2de2663e3754c6115582a249f9cb |
| https://github.com/codecov-commenter |
| codecov-commenter | https://github.com/codecov-commenter |
| Nov 12, 2026 | https://github.com/TheAlgorithms/Java/pull/7752#issuecomment-6813690320 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7752 |
| Codecov | https://app.codecov.io/gh/TheAlgorithms/Java/pull/7752?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| 401e253 | https://app.codecov.io/gh/TheAlgorithms/Java/commit/401e25388def688d457ccab49dd84dd97d9d1b49?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| 6c87037 | https://app.codecov.io/gh/TheAlgorithms/Java/commit/6c8703795b4c71cc747c3833b686a9d3fb159c04?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| ☔ View full report in Codecov by Harness | https://app.codecov.io/gh/TheAlgorithms/Java/pull/7752?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| Share it here | https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=TheAlgorithms |
| Test Analytics | https://docs.codecov.com/docs/test-analytics |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7752 |
| https://github.com/Prasad-Pitke |
| Prasad-Pitke | https://github.com/Prasad-Pitke |
| November 12, 2026 03:43 | https://github.com/TheAlgorithms/Java/pull/7752#event-35870056066 |
| https://github.com/Prasad-Pitke |
| Prasad-Pitke | https://github.com/Prasad-Pitke |
| DenizAltunkapan | https://github.com/DenizAltunkapan |
| alxkm | https://github.com/alxkm |
| yanglbme | https://github.com/yanglbme |
| code owners | https://github.com/TheAlgorithms/Java/blob/c46808958406c3b74726542fc9ad7e8038fe924e/.github/CODEOWNERS#L1 |
| November 12, 2026 03:43 | https://github.com/TheAlgorithms/Java/pull/7752#event-35870056638 |
| https://github.com/sambrossard |
| sambrossard | https://github.com/sambrossard |
|
Nov 12, 2026
| https://github.com/TheAlgorithms/Java/pull/7752#ref-pullrequest-6355592358 |
|
fix(maths): detect long overflow in Pow.pow
sambrossard/Java#2
| https://github.com/sambrossard/Java/pull/2 |
| https://github.com/DenizAltunkapan |
| DenizAltunkapan | https://github.com/DenizAltunkapan |
|
Nov 14, 2026
| https://github.com/TheAlgorithms/Java/pull/7752#pullrequestreview-5903521390 |
|
View reviewed changes
| https://github.com/TheAlgorithms/Java/pull/7752/files/6c8703795b4c71cc747c3833b686a9d3fb159c04 |
| https://github.com/DenizAltunkapan |
| DenizAltunkapan | https://github.com/DenizAltunkapan |
| November 14, 2026 09:47 | https://github.com/TheAlgorithms/Java/pull/7752#event-36115098294 |
|
| https://github.com/DenizAltunkapan |
| Merge branch 'master' into fix/pow-overflow-check-pr | https://github.com/TheAlgorithms/Java/pull/7752/commits/6c8703795b4c71cc747c3833b686a9d3fb159c04 |
| 6c87037 | https://github.com/TheAlgorithms/Java/pull/7752/commits/6c8703795b4c71cc747c3833b686a9d3fb159c04 |
| https://github.com/DenizAltunkapan |
| DenizAltunkapan | https://github.com/DenizAltunkapan |
| a006205 | https://github.com/TheAlgorithms/Java/commit/a0062057ff1f346b9d6324e732bc84b6d9d32ed2 |
| Nov 14, 2026 | https://github.com/TheAlgorithms/Java/pull/7752#event-36115238598 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7752 |
| https://github.co/hiddenchars |
| https://github.com/TheAlgorithms/Java/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTheAlgorithms%2FJava%2Fpull%2F7752 |
|
| https://github.com/DenizAltunkapan |
|
DenizAltunkapan
| https://github.com/DenizAltunkapan |
|
| https://github.com/TheAlgorithms/Java/pull/7752/files/6c8703795b4c71cc747c3833b686a9d3fb159c04 |
|
| https://github.com/yanglbme |
|
yanglbme
| https://github.com/yanglbme |
|
| https://github.com/alxkm |
|
alxkm
| https://github.com/alxkm |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7752 |
|
[BUG] Pow.pow silently wraps when the result exceeds long range
| https://github.com/TheAlgorithms/Java/issues/7751 |
| Please reload this page | https://github.com/TheAlgorithms/Java/pull/7752 |
|
| https://github.com/Prasad-Pitke |
|
| https://github.com/codecov-commenter |
|
| https://github.com/DenizAltunkapan |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |