This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Jul 04 15:48:39 -0700 2008 | [obrie] |
| |
CHANGELOG.rdoc | Sun Dec 14 18:41:47 -0800 2008 | [obrie] |
| |
LICENSE | Wed Jun 25 20:23:38 -0700 2008 | [obrie] |
| |
README.rdoc | Wed Jun 25 21:37:41 -0700 2008 | [obrie] |
| |
Rakefile | Sun Dec 14 18:41:47 -0800 2008 | [obrie] |
| |
init.rb | Sat Sep 22 19:40:45 -0700 2007 | [obrie] |
| |
lib/ | Sun Dec 14 18:41:20 -0800 2008 | [obrie] |
| |
test/ | Sat Sep 22 19:40:45 -0700 2007 | [obrie] |
README.rdoc
integer_limits
integer_limits adds constants for determining the minimum and maximum values of integers.
Resources
API
Bugs
Development
Source
- git://github.com/pluginaweek/integer_limits.git
Description
Unfortunately, Ruby only provides constants for the minimum and maximum values of floats. This plugins adds additional constants for Integer classes, specifically Fixnum and Bignum, that gives you the ability to find the minimum and maximum values.
Usage
Fixnum
On 32-bit systems:
>> Fixnum::MIN => -1073741824 >> Fixnum::MAX => 1073741823
On 64-bit systems:
>> Integer::MIN => -4611686018427387904 >> Integer::MAX => 4611686018427387903
Bignum
>> Bignum::MIN => -Infinity >> Bignum::MAX => Infinity
References
- Ara Howard - Fixnum::{MIN,MAX}





