René's URL Explorer Experiment


Title: 5.0: Emulate % with native math.mod() by YoRyan · Pull Request #1370 · TypeScriptToLua/TypeScriptToLua · GitHub

Open Graph Title: 5.0: Emulate % with native math.mod() by YoRyan · Pull Request #1370 · TypeScriptToLua/TypeScriptToLua

X Title: 5.0: Emulate % with native math.mod() by YoRyan · Pull Request #1370 · TypeScriptToLua/TypeScriptToLua

Description: It's come to my attention that this is a much better way of doing modulo. Depends on TypeScriptToLua/lua-types#78. If you're wondering why the universal addition is there, our code still requires all targets to build the Modulo50 feature, so I've inserted a non-functional dummy.

Open Graph Description: It's come to my attention that this is a much better way of doing modulo. Depends on TypeScriptToLua/lua-types#78. If you're wondering why the universal addition is there, our code still re...

X Description: It's come to my attention that this is a much better way of doing modulo. Depends on TypeScriptToLua/lua-types#78. If you're wondering why the universal addition is there, our code ...

Opengraph URL: https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bcc3cf78-2136-db76-19e8-468709222393
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9588:3A8D90:8ADBD19:B38DFFA:6975F93E
html-safe-nonce88aaa7065372e0da19d8d9448e39738e5dd195eb91eddca37d5d170ea6364008
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTg4OjNBOEQ5MDo4QURCRDE5OkIzOERGRkE6Njk3NUY5M0UiLCJ2aXNpdG9yX2lkIjoiODUyNzc4NTQwNzY3ODkwNDYzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac92ee661308c8929e7943cf903b76b2c4a7bcbf5dafaa9447062a2c56efc41eb5
hovercard-subject-tagpull_request:1135467538
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
twitter:imagehttps://avatars.githubusercontent.com/u/4701008?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4701008?s=400&v=4
og:image:altIt's come to my attention that this is a much better way of doing modulo. Depends on TypeScriptToLua/lua-types#78. If you're wondering why the universal addition is there, our code still re...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonec6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/TypeScriptToLua/TypeScriptToLua git https://github.com/TypeScriptToLua/TypeScriptToLua.git
octolytics-dimension-user_id44121206
octolytics-dimension-user_loginTypeScriptToLua
octolytics-dimension-repository_id115876595
octolytics-dimension-repository_nwoTypeScriptToLua/TypeScriptToLua
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id115876595
octolytics-dimension-repository_network_root_nwoTypeScriptToLua/TypeScriptToLua
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4ea235bfed58ef16c8a5642b3ac64b74f10c9f52
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTypeScriptToLua%2FTypeScriptToLua%2Fpull%2F1370%2Ffiles
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%2FTypeScriptToLua%2FTypeScriptToLua%2Fpull%2F1370%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=TypeScriptToLua%2FTypeScriptToLua
Reloadhttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
Reloadhttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
Reloadhttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
TypeScriptToLua https://github.com/TypeScriptToLua
TypeScriptToLuahttps://github.com/TypeScriptToLua/TypeScriptToLua
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
Notifications https://github.com/login?return_to=%2FTypeScriptToLua%2FTypeScriptToLua
Fork 181 https://github.com/login?return_to=%2FTypeScriptToLua%2FTypeScriptToLua
Star 2.4k https://github.com/login?return_to=%2FTypeScriptToLua%2FTypeScriptToLua
Code https://github.com/TypeScriptToLua/TypeScriptToLua
Issues 138 https://github.com/TypeScriptToLua/TypeScriptToLua/issues
Pull requests 7 https://github.com/TypeScriptToLua/TypeScriptToLua/pulls
Actions https://github.com/TypeScriptToLua/TypeScriptToLua/actions
Wiki https://github.com/TypeScriptToLua/TypeScriptToLua/wiki
Security 0 https://github.com/TypeScriptToLua/TypeScriptToLua/security
Insights https://github.com/TypeScriptToLua/TypeScriptToLua/pulse
Code https://github.com/TypeScriptToLua/TypeScriptToLua
Issues https://github.com/TypeScriptToLua/TypeScriptToLua/issues
Pull requests https://github.com/TypeScriptToLua/TypeScriptToLua/pulls
Actions https://github.com/TypeScriptToLua/TypeScriptToLua/actions
Wiki https://github.com/TypeScriptToLua/TypeScriptToLua/wiki
Security https://github.com/TypeScriptToLua/TypeScriptToLua/security
Insights https://github.com/TypeScriptToLua/TypeScriptToLua/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FTypeScriptToLua%2FTypeScriptToLua%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FTypeScriptToLua%2FTypeScriptToLua%2Fissues%2Fnew%2Fchoose
Perryvwhttps://github.com/Perryvw
TypeScriptToLua:masterhttps://github.com/TypeScriptToLua/TypeScriptToLua/tree/master
YoRyan:5.0-modulohttps://github.com/YoRyan/TypeScriptToLua/tree/5.0-modulo
Conversation 2 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370
Commits 2 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/commits
Checks 0 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/checks
Files changed https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
5.0: Emulate % with native math.mod() https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#top
Show all changes 2 commits https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
b3602f3 refactor(5.0): emulate modulo with native math.mod() YoRyan Nov 25, 2022 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/commits/b3602f3fc7d636de3b2d99bf8f5bab04d0e350e2
9d1094d refactor(5.0): remove the modulo lualib feature altogether YoRyan Nov 25, 2022 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/commits/9d1094dcec9a7ad5a6a079dce64bc301afcc0cc1
Clear filters https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
LuaLib.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-8f948521bc17d976cfb73476a0a8da6e484009fa6bc9a927124e4f3360fef2dc
Modulo50.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-3985793ed4998657a8ee940d5f8dca386675f9314e4f7b20544716c55a65d312
index.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-fa682c94e2b99249d8336e9b72ada79ef7ef9f86f453b3938965ed32f4813c49
src/LuaLib.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-8f948521bc17d976cfb73476a0a8da6e484009fa6bc9a927124e4f3360fef2dc
View file https://github.com/YoRyan/TypeScriptToLua/blob/9d1094dcec9a7ad5a6a079dce64bc301afcc0cc1/src/LuaLib.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/{{ revealButtonHref }}
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-8f948521bc17d976cfb73476a0a8da6e484009fa6bc9a927124e4f3360fef2dc
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-8f948521bc17d976cfb73476a0a8da6e484009fa6bc9a927124e4f3360fef2dc
src/lualib/Modulo50.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-3985793ed4998657a8ee940d5f8dca386675f9314e4f7b20544716c55a65d312
View file https://github.com/TypeScriptToLua/TypeScriptToLua/blob/9244f54b23d480307d3fa7f8c2da793d7a43e9be/src/lualib/Modulo50.ts
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files
src/transformation/visitors/binary-expression/index.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-fa682c94e2b99249d8336e9b72ada79ef7ef9f86f453b3938965ed32f4813c49
View file https://github.com/YoRyan/TypeScriptToLua/blob/9d1094dcec9a7ad5a6a079dce64bc301afcc0cc1/src/transformation/visitors/binary-expression/index.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/{{ revealButtonHref }}
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-fa682c94e2b99249d8336e9b72ada79ef7ef9f86f453b3938965ed32f4813c49
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1370/files#diff-fa682c94e2b99249d8336e9b72ada79ef7ef9f86f453b3938965ed32f4813c49
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.