https://github.com/ruby/bigdecimal
Arbitrary-precision decimal floating-point number library for Ruby
https://github.com/ruby/bigdecimal
Keywords
bigdecimal ruby
Keywords from Contributors
rubygems repl webrick debugger documentation-tool activerecord mvc activejob strscan debugging-tool
Last synced: about 2 hours ago
JSON representation
Repository metadata
Arbitrary-precision decimal floating-point number library for Ruby
- Host: GitHub
- URL: https://github.com/ruby/bigdecimal
- Owner: ruby
- License: other
- Created: 2015-12-25T01:37:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2026-02-15T15:24:54.000Z (16 days ago)
- Last Synced: 2026-02-27T20:56:52.556Z (4 days ago)
- Topics: bigdecimal, ruby
- Language: C
- Homepage:
- Size: 1.85 MB
- Stars: 134
- Watchers: 34
- Forks: 86
- Open Issues: 14
- Releases: 17
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
README.md
BigDecimal
BigDecimal provides an arbitrary-precision decimal floating-point number class.
Installation
Add this line to your application's Gemfile:
gem 'bigdecimal'
And then execute:
bundle
Or install it yourself as:
gem install bigdecimal
For RubyInstaller users
If your Ruby comes from RubyInstaller, make sure Devkit is available on your environment before installing bigdecimal.
For Chocolatey
I don't have enough knowledge about Chocolatey. Please tell me what should I write here.
Usage
TODO: Write usage instructions here
Development
After checking out the repo, run bin/setup to install dependencies.
Then, run rake test to run the tests.
You can also run bin/console for an interactive prompt that
will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install.
To release a new version, update the version number in version.rb,
and then run bundle exec rake release,
which will create a git tag for the version, push git commits and tags,
and push the .gem file to rubygems.org.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/ruby/bigdecimal.
License
BigDecimal is released under the Ruby and 2-clause BSD licenses.
See LICENSE.txt for details.
Owner metadata
- Name: The Ruby Programming Language
- Login: ruby
- Email: info@ruby-lang.org
- Kind: organization
- Description: Repositories related to the Ruby Programming language
- Website: https://www.ruby-lang.org/
- Location: Matsue, Japan
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/210414?v=4
- Repositories: 171
- Last ynced at: 2023-04-09T03:40:20.875Z
- Profile URL: https://github.com/ruby
GitHub Events
Total
- Release event: 4
- Delete event: 6
- Member event: 1
- Pull request event: 140
- Fork event: 10
- Issues event: 36
- Watch event: 12
- Issue comment event: 66
- Push event: 69
- Pull request review comment event: 31
- Pull request review event: 39
- Create event: 8
Last Year
- Release event: 4
- Delete event: 6
- Member event: 1
- Pull request event: 134
- Fork event: 3
- Issues event: 30
- Watch event: 5
- Issue comment event: 49
- Push event: 67
- Pull request review comment event: 31
- Pull request review event: 39
- Create event: 7
Committers metadata
Last synced: 3 days ago
Total Commits: 1,065
Total Committers: 76
Avg Commits per committer: 14.013
Development Distribution Score (DDS): 0.622
Commits in past year: 147
Committers in past year: 15
Avg Commits per committer in past year: 9.8
Development Distribution Score (DDS) in past year: 0.211
| Name | Commits | |
|---|---|---|
| Kenta Murata | m****n@m****p | 403 |
| tomoya ishida | t****n@g****m | 116 |
| nobu | n****u@b****e | 114 |
| shigek | s****k@b****e | 65 |
| Hiroshi SHIBATA | h****t@r****g | 52 |
| yui-knk | s****a@g****m | 47 |
| matz | m****z@b****e | 37 |
| mame | m****e@b****e | 20 |
| akr | a****r@b****e | 16 |
| dependabot[bot] | 4****] | 15 |
| BurdetteLamar | B****r@Y****m | 13 |
| naruse | n****e@b****e | 12 |
| Marcus Stollsteimer | s****r@w****e | 12 |
| zzak | z****k@b****e | 11 |
| Jeremy Evans | c****e@j****t | 10 |
| kazu | k****u@b****e | 7 |
| usa | u****a@b****e | 6 |
| Maciej Rzasa | m****a@g****m | 6 |
| Benoit Daloze | e****p@g****m | 6 |
| Peter Zhu | p****r@p****a | 5 |
| ayumin | a****n@b****e | 5 |
| drbrain | d****n@b****e | 5 |
| nagachika | n****a@b****e | 5 |
| marcandre | m****e@b****e | 4 |
| Thomas Winsnes | T****s | 3 |
| ko1 | k****1@b****e | 3 |
| Ibrahim Awwal | i****l@g****m | 3 |
| Marc Riera | m****7@g****m | 3 |
| Jean Boussier | j****r@g****m | 2 |
| Koichi ITO | k****o@g****m | 2 |
| and 46 more... | ||
Committer domains:
- ruby-lang.org: 2
- mrkn.jp: 1
- jeremyevans.net: 1
- peterzhu.ca: 1
- thoughtbot.com: 1
- dio.jp: 1
- noreply.me: 1
- timcraft.com: 1
- proton.me: 1
- easy.cz: 1
- puppetlabs.com: 1
- headius.com: 1
- dana.sh: 1
- redhat.com: 1
- pocke.me: 1
- oleksiileonov.com: 1
- ava.waw.pl: 1
- oriontransfer.co.nz: 1
- cllns.com: 1
- cozmixng.org: 1
Issue and Pull Request metadata
Last synced: 15 days ago
Total issues: 78
Total pull requests: 277
Average time to close issues: about 1 year
Average time to close pull requests: about 1 month
Total issue authors: 51
Total pull request authors: 41
Average comments per issue: 2.92
Average comments per pull request: 0.6
Merged pull request: 204
Bot issues: 0
Bot pull requests: 11
Past year issues: 22
Past year pull requests: 156
Past year average time to close issues: 21 days
Past year average time to close pull requests: 10 days
Past year issue authors: 11
Past year pull request authors: 12
Past year average comments per issue: 0.82
Past year average comments per pull request: 0.17
Past year merged pull request: 102
Past year bot issues: 0
Past year bot pull requests: 9
Top Issue Authors
- mrkn (15)
- tompng (11)
- koic (2)
- headius (2)
- BurdetteLamar (2)
- pnomolos (1)
- hsbt (1)
- datbth (1)
- michaelglass (1)
- sanfrecce-osaka (1)
- carl-stripe (1)
- egiurleo (1)
- guillaumebriday-pa (1)
- kamipo (1)
- amkisko (1)
Top Pull Request Authors
- tompng (129)
- mrkn (25)
- nobu (20)
- hsbt (20)
- dependabot[bot] (11)
- mrzasa (9)
- BurdetteLamar (5)
- peterzhu2118 (4)
- mame (4)
- rhannequin (3)
- fsateler (3)
- olleolleolle (3)
- chaunce (2)
- kou (2)
- andrykonchin (2)
Top Issue Labels
- bug (9)
- wontfix (6)
- question (3)
- enhancement (3)
- help wanted (1)
- windows (1)
- ruby-2.7 (1)
- wait feedback (1)
- 3rd party's issue (1)
Top Pull Request Labels
- dependencies (11)
- github_actions (9)
- bug (8)
- documentation (5)
Package metadata
- Total packages: 10
-
Total downloads:
- rubygems: 713,524,417 total
- Total docker downloads: 9,598,058,042
- Total dependent packages: 125 (may contain duplicates)
- Total dependent repositories: 1,263 (may contain duplicates)
- Total versions: 180
- Total maintainers: 6
gem.coop: bigdecimal
This library provides arbitrary-precision decimal floating-point number class.
- Homepage: https://github.com/ruby/bigdecimal
- Documentation: http://www.rubydoc.info/gems/bigdecimal/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 4.0.1 (published 3 months ago)
- Last Synced: 2026-03-01T19:25:35.137Z (2 days ago)
- Versions: 67
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 356,746,626 Total
- Docker Downloads: 4,799,029,021
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Docker downloads count: 0.001%
- Average: 0.022%
- Downloads: 0.087%
- Maintainers (3)
rubygems.org: bigdecimal
This library provides arbitrary-precision decimal floating-point number class.
- Homepage: https://github.com/ruby/bigdecimal
- Documentation: http://www.rubydoc.info/gems/bigdecimal/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 4.0.1 (published 3 months ago)
- Last Synced: 2026-03-01T21:03:10.740Z (1 day ago)
- Versions: 67
- Dependent Packages: 125
- Dependent Repositories: 1,263
- Downloads: 356,767,729 Total
- Docker Downloads: 4,799,029,021
-
Rankings:
- Docker downloads count: 0.005%
- Dependent packages count: 0.377%
- Downloads: 0.503%
- Dependent repos count: 0.907%
- Average: 1.722%
- Forks count: 3.28%
- Stargazers count: 5.261%
- Maintainers (3)
alpine-edge: ruby-bigdecimal
Arbitrary-precision decimal floating-point number library for Ruby
- Homepage: https://github.com/ruby/bigdecimal
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 3.1.8-r0 (published 10 months ago)
- Last Synced: 2026-03-01T02:34:42.650Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Average: 6.826%
- Dependent packages count: 13.652%
- Maintainers (1)
proxy.golang.org: github.com/ruby/bigdecimal
- Homepage:
- Documentation: https://pkg.go.dev/github.com/ruby/bigdecimal#section-documentation
- Licenses: other
- Latest release: v4.0.1+incompatible (published 3 months ago)
- Last Synced: 2026-03-01T19:25:36.826Z (2 days ago)
- Versions: 33
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Forks count: 3.152%
- Stargazers count: 4.514%
- Average: 7.011%
- Dependent packages count: 9.576%
- Dependent repos count: 10.802%
gem.coop: ed-precompiled_bigdecimal
This library provides arbitrary-precision decimal floating-point number class.
- Homepage: https://github.com/ruby/bigdecimal
- Documentation: http://www.rubydoc.info/gems/ed-precompiled_bigdecimal/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 3.3.1 (published 5 months ago)
- Last Synced: 2026-03-01T19:25:34.922Z (2 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 1,283 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Forks count: 3.009%
- Stargazers count: 4.923%
- Average: 21.407%
- Downloads: 99.101%
- Maintainers (1)
gem.coop: bigdecimal-fix
This library provides arbitrary-precision decimal floating-point number class.
- Homepage: https://github.com/ruby/bigdecimal
- Documentation: http://www.rubydoc.info/gems/bigdecimal-fix/
- Licenses: ruby
- Latest release: 1.4.4 (published almost 7 years ago)
- Last Synced: 2026-03-01T19:25:34.763Z (2 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,782 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 27.59%
- Downloads: 82.77%
- Maintainers (1)
rubygems.org: bigdecimal-fix
This library provides arbitrary-precision decimal floating-point number class.
- Homepage: https://github.com/ruby/bigdecimal
- Documentation: http://www.rubydoc.info/gems/bigdecimal-fix/
- Licenses: ruby
- Latest release: 1.4.4 (published almost 7 years ago)
- Last Synced: 2026-02-24T09:13:08.973Z (7 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 3,735 Total
-
Rankings:
- Forks count: 3.186%
- Stargazers count: 5.407%
- Dependent packages count: 15.706%
- Average: 31.373%
- Dependent repos count: 46.782%
- Downloads: 85.785%
- Maintainers (1)
rubygems.org: ed-precompiled_bigdecimal
This library provides arbitrary-precision decimal floating-point number class.
- Homepage: https://github.com/ruby/bigdecimal
- Documentation: http://www.rubydoc.info/gems/ed-precompiled_bigdecimal/
- Licenses: Ruby,BSD-2-Clause
- Latest release: 3.3.1 (published 5 months ago)
- Last Synced: 2026-02-24T09:13:08.983Z (7 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 1,262 Total
-
Rankings:
- Forks count: 2.826%
- Stargazers count: 4.614%
- Dependent packages count: 14.231%
- Average: 31.384%
- Dependent repos count: 43.59%
- Downloads: 91.658%
- Maintainers (1)
alpine-v3.23: ruby-bigdecimal
Arbitrary-precision decimal floating-point number library for Ruby
alpine-v3.22: ruby-bigdecimal
Arbitrary-precision decimal floating-point number library for Ruby
- Homepage: https://github.com/ruby/bigdecimal
- Licenses: BSD-2-Clause AND Ruby
- Latest release: 3.1.8-r0 (published 10 months ago)
- Last Synced: 2026-03-01T01:10:22.913Z (3 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
Dependencies
- benchmark_driver >= 0
- fiddle >= 0
- irb >= 0
- minitest < 5.0.0
- rake >= 12.3.3
- rake-compiler >= 0.9
- test-unit >= 0
- actions/checkout v3 composite
- ruby/setup-ruby v1 composite
- actions/checkout v3 composite
- ruby/setup-ruby v1 composite
- actions/checkout v6.0.1 composite
- ruby/setup-ruby v1 composite
- actions/checkout 8e8c483db84b4bee98b60c0593521ed34d9990e8 composite
- ruby/setup-ruby d5126b9b3579e429dd52e51e68624dda2e05be25 composite
- rubygems/release-gem 1c162a739e8b4cb21a676e97b087e8268d8fc40b composite
- step-security/harden-runner 20cf305ff2072d973412fa9b1e3a4f227bda3c76 composite
Score: 32.38448039109324