https://github.com/begriffs/ordinary
Transfinite arithmetic in Ruby
https://github.com/begriffs/ordinary
Last synced: 4 months ago
JSON representation
Transfinite arithmetic in Ruby
- Host: GitHub
- URL: https://github.com/begriffs/ordinary
- Owner: begriffs
- License: mit
- Created: 2013-06-14T14:41:42.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-06-14T22:11:58.000Z (almost 13 years ago)
- Last Synced: 2025-01-10T17:50:14.798Z (about 1 year ago)
- Language: Ruby
- Size: 107 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Ordinal Arithmetic in Ruby
Finite numbers are small. You're bigger than that. Use this gem to count
above the *ordinary*.
```ruby
require 'ordinary'
include Ordinary
infinity = Ord.Omega
2 < infinity # => true
infinity < infinity + 1 # => true
infinity < infinity + infinity # => true
!!"You'll love this library" # => true
```