René's URL Explorer Experiment


Title: Possibility to write 32-bit single precision floats to MessagePack by ojundt · Pull Request #101 · msgpack/msgpack-ruby · GitHub

Open Graph Title: Possibility to write 32-bit single precision floats to MessagePack by ojundt · Pull Request #101 · msgpack/msgpack-ruby

X Title: Possibility to write 32-bit single precision floats to MessagePack by ojundt · Pull Request #101 · msgpack/msgpack-ruby

Description: I was missing a way to pass 32-bit single precision floats to MessagePack since ruby only has 64-bit double precision floats. With this change it is possible by simply wrapping any float (or in fact any numeric) ruby value in a new MessagePack::SinglePrecisionFloat instance. Thoughts? The JRuby implementation is missing for now. Unfortunately I don't have time/experience for that part :/

Open Graph Description: I was missing a way to pass 32-bit single precision floats to MessagePack since ruby only has 64-bit double precision floats. With this change it is possible by simply wrapping any float (or in fac...

X Description: I was missing a way to pass 32-bit single precision floats to MessagePack since ruby only has 64-bit double precision floats. With this change it is possible by simply wrapping any float (or in fac...

Opengraph URL: https://github.com/msgpack/msgpack-ruby/pull/101

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e5c23557-6798-81d8-92aa-39400ac4dc20
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F7A:13012E:528D80:70A9E9:6A552144
html-safe-nonce8a6ae2e93dbb857b5ff9bd0a17f92e83623231e5c4184cfedfa8890ef68b3602
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjdBOjEzMDEyRTo1MjhEODA6NzBBOUU5OjZBNTUyMTQ0IiwidmlzaXRvcl9pZCI6IjE1MzIxMTg5MTYyMDk2NDc5NDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccb77462a59ca51426bed6994bb579536b1ab56133959750b71b3aa64f24451da
hovercard-subject-tagpull_request:54191389
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/msgpack/msgpack-ruby/pull/101/files
twitter:imagehttps://avatars.githubusercontent.com/u/3025911?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3025911?s=400&v=4
og:image:altI was missing a way to pass 32-bit single precision floats to MessagePack since ruby only has 64-bit double precision floats. With this change it is possible by simply wrapping any float (or in fac...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/msgpack/msgpack-ruby git https://github.com/msgpack/msgpack-ruby.git
octolytics-dimension-user_id198264
octolytics-dimension-user_loginmsgpack
octolytics-dimension-repository_id2479813
octolytics-dimension-repository_nwomsgpack/msgpack-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2479813
octolytics-dimension-repository_network_root_nwomsgpack/msgpack-ruby
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
release358dd24ad7465d20e3fae729b5b169d35b0dd7f8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgpack/msgpack-ruby/pull/101/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-ruby%2Fpull%2F101%2Ffiles
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%2Fmsgpack%2Fmsgpack-ruby%2Fpull%2F101%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=msgpack%2Fmsgpack-ruby
Reloadhttps://github.com/msgpack/msgpack-ruby/pull/101/files
Reloadhttps://github.com/msgpack/msgpack-ruby/pull/101/files
Reloadhttps://github.com/msgpack/msgpack-ruby/pull/101/files
Please reload this pagehttps://github.com/msgpack/msgpack-ruby/pull/101/files
msgpack https://github.com/msgpack
msgpack-rubyhttps://github.com/msgpack/msgpack-ruby
Notifications https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby
Fork 124 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby
Star 788 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby
Code https://github.com/msgpack/msgpack-ruby
Issues 2 https://github.com/msgpack/msgpack-ruby/issues
Pull requests 1 https://github.com/msgpack/msgpack-ruby/pulls
Actions https://github.com/msgpack/msgpack-ruby/actions
Projects https://github.com/msgpack/msgpack-ruby/projects
Security and quality 1 https://github.com/msgpack/msgpack-ruby/security
Insights https://github.com/msgpack/msgpack-ruby/pulse
Code https://github.com/msgpack/msgpack-ruby
Issues https://github.com/msgpack/msgpack-ruby/issues
Pull requests https://github.com/msgpack/msgpack-ruby/pulls
Actions https://github.com/msgpack/msgpack-ruby/actions
Projects https://github.com/msgpack/msgpack-ruby/projects
Security and quality https://github.com/msgpack/msgpack-ruby/security
Insights https://github.com/msgpack/msgpack-ruby/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmsgpack%2Fmsgpack-ruby%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-ruby%2Fissues%2Fnew%2Fchoose
frsyukihttps://github.com/frsyuki
msgpack:masterhttps://github.com/msgpack/msgpack-ruby/tree/master
ojundt:masterhttps://github.com/ojundt/msgpack-ruby/tree/master
Conversation 16 https://github.com/msgpack/msgpack-ruby/pull/101
Commits 2 https://github.com/msgpack/msgpack-ruby/pull/101/commits
Checks 0 https://github.com/msgpack/msgpack-ruby/pull/101/checks
Files changed https://github.com/msgpack/msgpack-ruby/pull/101/files
Please reload this pagehttps://github.com/msgpack/msgpack-ruby/pull/101/files
Possibility to write 32-bit single precision floats to MessagePack https://github.com/msgpack/msgpack-ruby/pull/101/files#top
Show all changes 2 commits https://github.com/msgpack/msgpack-ruby/pull/101/files
cecfe72 Add #write_float32 to Packer Dec 20, 2015 https://github.com/msgpack/msgpack-ruby/pull/101/commits/cecfe72e8d7c1e0639639254ab8d1e7ccd354dcc
37441a8 move rubinius temporally to allow_failures: failing with rubygems tagomoris Dec 25, 2015 https://github.com/msgpack/msgpack-ruby/pull/101/commits/37441a84e06c6ce50db94d3f63667239101ce12e
Clear filters https://github.com/msgpack/msgpack-ruby/pull/101/files
Please reload this pagehttps://github.com/msgpack/msgpack-ruby/pull/101/files
Please reload this pagehttps://github.com/msgpack/msgpack-ruby/pull/101/files
.travis.yml https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
packer.rb https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-799cf91ba35ca4b58896c6ff5816791b08039497c67a33f13742e224b2f8a4d2
Encoder.java https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-e54346fbb300f164f818ef6a099b1573a1b6f4badcacd57f4f5829bd2d6c3330
Packer.java https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-93284402b2dff6fe18310414a1e6a2600b6ef76f36ac68e7c0a501b9771702f0
packer.h https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-95fd386077c3238ae790627c735641572f8079dee920b6eec00ead22d79eb79e
packer_class.c https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-c4a7c49159251ad5e7ba2f6745fb09aa841e406ec3a80737f101b9bdea1076f2
packer_spec.rb https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-9eff97db2ab4b0d4e1c7723edf34e7534057cb5c477799c7ea10f503c975a797
.travis.ymlhttps://github.com/msgpack/msgpack-ruby/pull/101/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
View file https://github.com/ojundt/msgpack-ruby/blob/37441a84e06c6ce50db94d3f63667239101ce12e/.travis.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-ruby/pull/101/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-6ac3f79fc25d95cd1e3d51da53a4b21b939437392578a35ae8cd6d5366ca5485
doclib/msgpack/packer.rbhttps://github.com/msgpack/msgpack-ruby/pull/101/files#diff-799cf91ba35ca4b58896c6ff5816791b08039497c67a33f13742e224b2f8a4d2
View file https://github.com/ojundt/msgpack-ruby/blob/37441a84e06c6ce50db94d3f63667239101ce12e/doclib/msgpack/packer.rb
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-ruby/pull/101/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-799cf91ba35ca4b58896c6ff5816791b08039497c67a33f13742e224b2f8a4d2
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-799cf91ba35ca4b58896c6ff5816791b08039497c67a33f13742e224b2f8a4d2
ext/java/org/msgpack/jruby/Encoder.javahttps://github.com/msgpack/msgpack-ruby/pull/101/files#diff-e54346fbb300f164f818ef6a099b1573a1b6f4badcacd57f4f5829bd2d6c3330
View file https://github.com/ojundt/msgpack-ruby/blob/37441a84e06c6ce50db94d3f63667239101ce12e/ext/java/org/msgpack/jruby/Encoder.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-ruby/pull/101/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-e54346fbb300f164f818ef6a099b1573a1b6f4badcacd57f4f5829bd2d6c3330
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-e54346fbb300f164f818ef6a099b1573a1b6f4badcacd57f4f5829bd2d6c3330
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-e54346fbb300f164f818ef6a099b1573a1b6f4badcacd57f4f5829bd2d6c3330
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-e54346fbb300f164f818ef6a099b1573a1b6f4badcacd57f4f5829bd2d6c3330
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-e54346fbb300f164f818ef6a099b1573a1b6f4badcacd57f4f5829bd2d6c3330
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-e54346fbb300f164f818ef6a099b1573a1b6f4badcacd57f4f5829bd2d6c3330
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-e54346fbb300f164f818ef6a099b1573a1b6f4badcacd57f4f5829bd2d6c3330
ext/java/org/msgpack/jruby/Packer.javahttps://github.com/msgpack/msgpack-ruby/pull/101/files#diff-93284402b2dff6fe18310414a1e6a2600b6ef76f36ac68e7c0a501b9771702f0
View file https://github.com/ojundt/msgpack-ruby/blob/37441a84e06c6ce50db94d3f63667239101ce12e/ext/java/org/msgpack/jruby/Packer.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-ruby/pull/101/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-93284402b2dff6fe18310414a1e6a2600b6ef76f36ac68e7c0a501b9771702f0
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-93284402b2dff6fe18310414a1e6a2600b6ef76f36ac68e7c0a501b9771702f0
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-93284402b2dff6fe18310414a1e6a2600b6ef76f36ac68e7c0a501b9771702f0
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-93284402b2dff6fe18310414a1e6a2600b6ef76f36ac68e7c0a501b9771702f0
ext/msgpack/packer.hhttps://github.com/msgpack/msgpack-ruby/pull/101/files#diff-95fd386077c3238ae790627c735641572f8079dee920b6eec00ead22d79eb79e
View file https://github.com/ojundt/msgpack-ruby/blob/37441a84e06c6ce50db94d3f63667239101ce12e/ext/msgpack/packer.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-ruby/pull/101/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-95fd386077c3238ae790627c735641572f8079dee920b6eec00ead22d79eb79e
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-95fd386077c3238ae790627c735641572f8079dee920b6eec00ead22d79eb79e
ext/msgpack/packer_class.chttps://github.com/msgpack/msgpack-ruby/pull/101/files#diff-c4a7c49159251ad5e7ba2f6745fb09aa841e406ec3a80737f101b9bdea1076f2
View file https://github.com/ojundt/msgpack-ruby/blob/37441a84e06c6ce50db94d3f63667239101ce12e/ext/msgpack/packer_class.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-ruby/pull/101/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-c4a7c49159251ad5e7ba2f6745fb09aa841e406ec3a80737f101b9bdea1076f2
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-c4a7c49159251ad5e7ba2f6745fb09aa841e406ec3a80737f101b9bdea1076f2
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-c4a7c49159251ad5e7ba2f6745fb09aa841e406ec3a80737f101b9bdea1076f2
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-c4a7c49159251ad5e7ba2f6745fb09aa841e406ec3a80737f101b9bdea1076f2
spec/packer_spec.rbhttps://github.com/msgpack/msgpack-ruby/pull/101/files#diff-9eff97db2ab4b0d4e1c7723edf34e7534057cb5c477799c7ea10f503c975a797
View file https://github.com/ojundt/msgpack-ruby/blob/37441a84e06c6ce50db94d3f63667239101ce12e/spec/packer_spec.rb
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-ruby/pull/101/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-9eff97db2ab4b0d4e1c7723edf34e7534057cb5c477799c7ea10f503c975a797
https://github.com/msgpack/msgpack-ruby/pull/101/files#diff-9eff97db2ab4b0d4e1c7723edf34e7534057cb5c477799c7ea10f503c975a797
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.