René's URL Explorer Experiment


Title: javascript-algorithms/src/algorithms/math/bits at master · weg-algorithm/javascript-algorithms · GitHub

Open Graph Title: javascript-algorithms/src/algorithms/math/bits at master · weg-algorithm/javascript-algorithms

X Title: javascript-algorithms/src/algorithms/math/bits at master · weg-algorithm/javascript-algorithms

Description: 📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings - javascript-algorithms/src/algorithms/math/bits at master · weg-algorithm/javascript-algorithms

Open Graph Description: 📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings - weg-algorithm/javascript-algorithms

X Description: 📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings - weg-algorithm/javascript-algorithms

Opengraph URL: https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/tree/*name(/*path)
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:a30022af-a51f-ddbc-8d26-d4c810dfd458
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idAFDA:355DDB:112A2CE:18FE731:6A54BA59
html-safe-nonce36cfaad39529bafdc3649c25db06ef1de2a08102b8ba5f40d018de41a9df15ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkRBOjM1NUREQjoxMTJBMkNFOjE4RkU3MzE6NkE1NEJBNTkiLCJ2aXNpdG9yX2lkIjoiMjg1MDAwODQwNTI1ODg0NDc2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd868260e90f3a1afba4f3106251377b4fdf0992b21ef7cdb14972f6e2a88b2d8
hovercard-subject-tagrepository:325162532
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///files/disambiguate
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits
twitter:imagehttps://opengraph.githubassets.com/9cd39d21c52efb3b2633875f40eff0bdeb022e50c8a3357ef633f7ff6059f75b/weg-algorithm/javascript-algorithms
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9cd39d21c52efb3b2633875f40eff0bdeb022e50c8a3357ef633f7ff6059f75b/weg-algorithm/javascript-algorithms
og:image:alt📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings - weg-algorithm/javascript-algorithms
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/weg-algorithm/javascript-algorithms git https://github.com/weg-algorithm/javascript-algorithms.git
octolytics-dimension-user_id64138639
octolytics-dimension-user_loginweg-algorithm
octolytics-dimension-repository_id325162532
octolytics-dimension-repository_nwoweg-algorithm/javascript-algorithms
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id126577260
octolytics-dimension-repository_parent_nwotrekhleb/javascript-algorithms
octolytics-dimension-repository_network_root_id126577260
octolytics-dimension-repository_network_root_nwotrekhleb/javascript-algorithms
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
release5d343e1152573ef294b28f54e4a14fb5fdb3a5a1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fweg-algorithm%2Fjavascript-algorithms%2Ftree%2Fmaster%2Fsrc%2Falgorithms%2Fmath%2Fbits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fweg-algorithm%2Fjavascript-algorithms%2Ftree%2Fmaster%2Fsrc%2Falgorithms%2Fmath%2Fbits
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%2Ffiles%2Fdisambiguate&source=header-repo&source_repo=weg-algorithm%2Fjavascript-algorithms
Reloadhttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits
Reloadhttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits
Reloadhttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits
Please reload this pagehttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits
weg-algorithm https://github.com/weg-algorithm
javascript-algorithmshttps://github.com/weg-algorithm/javascript-algorithms
trekhleb/javascript-algorithmshttps://github.com/trekhleb/javascript-algorithms
Notifications https://github.com/login?return_to=%2Fweg-algorithm%2Fjavascript-algorithms
Fork 0 https://github.com/login?return_to=%2Fweg-algorithm%2Fjavascript-algorithms
Star 0 https://github.com/login?return_to=%2Fweg-algorithm%2Fjavascript-algorithms
Code https://github.com/weg-algorithm/javascript-algorithms
Pull requests 0 https://github.com/weg-algorithm/javascript-algorithms/pulls
Actions https://github.com/weg-algorithm/javascript-algorithms/actions
Projects https://github.com/weg-algorithm/javascript-algorithms/projects
Security and quality 0 https://github.com/weg-algorithm/javascript-algorithms/security
Insights https://github.com/weg-algorithm/javascript-algorithms/pulse
Code https://github.com/weg-algorithm/javascript-algorithms
Pull requests https://github.com/weg-algorithm/javascript-algorithms/pulls
Actions https://github.com/weg-algorithm/javascript-algorithms/actions
Projects https://github.com/weg-algorithm/javascript-algorithms/projects
Security and quality https://github.com/weg-algorithm/javascript-algorithms/security
Insights https://github.com/weg-algorithm/javascript-algorithms/pulse
https://github.com/weg-algorithm/javascript-algorithms
javascript-algorithmshttps://github.com/weg-algorithm/javascript-algorithms/tree/master
srchttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src
algorithmshttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms
mathhttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math
Historyhttps://github.com/weg-algorithm/javascript-algorithms/commits/master/src/algorithms/math/bits
https://github.com/weg-algorithm/javascript-algorithms/commits/master/src/algorithms/math/bits
javascript-algorithmshttps://github.com/weg-algorithm/javascript-algorithms/tree/master
srchttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src
algorithmshttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms
mathhttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math
..https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math
__test__https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits/__test__
__test__https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits/__test__
README.fr-FR.mdhttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/README.fr-FR.md
README.fr-FR.mdhttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/README.fr-FR.md
README.mdhttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/README.md
README.mdhttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/README.md
bitLength.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/bitLength.js
bitLength.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/bitLength.js
bitsDiff.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/bitsDiff.js
bitsDiff.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/bitsDiff.js
clearBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/clearBit.js
clearBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/clearBit.js
countSetBits.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/countSetBits.js
countSetBits.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/countSetBits.js
divideByTwo.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/divideByTwo.js
divideByTwo.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/divideByTwo.js
fullAdder.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/fullAdder.js
fullAdder.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/fullAdder.js
getBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/getBit.js
getBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/getBit.js
isEven.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/isEven.js
isEven.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/isEven.js
isPositive.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/isPositive.js
isPositive.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/isPositive.js
isPowerOfTwo.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/isPowerOfTwo.js
isPowerOfTwo.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/isPowerOfTwo.js
multiply.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/multiply.js
multiply.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/multiply.js
multiplyByTwo.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/multiplyByTwo.js
multiplyByTwo.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/multiplyByTwo.js
multiplyUnsigned.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/multiplyUnsigned.js
multiplyUnsigned.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/multiplyUnsigned.js
setBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/setBit.js
setBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/setBit.js
switchSign.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/switchSign.js
switchSign.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/switchSign.js
updateBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/updateBit.js
updateBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/updateBit.js
README.mdhttps://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#readme
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#bit-manipulation
françaishttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/README.fr-FR.md
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#get-bit
getBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/getBit.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#set-bit
setBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/setBit.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#clear-bit
clearBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/clearBit.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#update-bit
updateBit.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/updateBit.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#iseven
isEven.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/isEven.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#ispositive
isPositive.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/isPositive.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#multiply-by-two
multiplyByTwo.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/multiplyByTwo.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#divide-by-two
divideByTwo.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/divideByTwo.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#switch-sign
switchSign.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/switchSign.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#multiply-two-signed-numbers
multiply.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/multiply.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#multiply-two-unsigned-numbers
multiplyUnsigned.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/multiplyUnsigned.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#count-set-bits
countSetBits.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/countSetBits.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#count-bits-to-flip-one-number-to-another
bitsDiff.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/bitsDiff.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#count-bits-of-a-number
bitLength.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/bitLength.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#is-power-of-two
isPowerOfTwo.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/isPowerOfTwo.js
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#full-adder
full adderhttps://en.wikipedia.org/wiki/Adder_(electronics)
fullAdder.jshttps://github.com/weg-algorithm/javascript-algorithms/blob/master/src/algorithms/math/bits/fullAdder.js
Full Adder on YouTubehttps://www.youtube.com/watch?v=wvJc9CZcvBc&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8
https://github.com/weg-algorithm/javascript-algorithms/tree/master/src/algorithms/math/bits#references
Bit Manipulation on YouTubehttps://www.youtube.com/watch?v=NLKQEOgBAnw&t=0s&index=28&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8
Negative Numbers in binary on YouTubehttps://www.youtube.com/watch?v=4qH4unVtJkE&t=0s&index=30&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8
Bit Hacks on stanford.eduhttps://graphics.stanford.edu/~seander/bithacks.html
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.