repo.or.cz
/
rbx.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Re-enable spec/library for full CI runs.
[rbx.git]
/
kernel
/
platform
/
fixnum.rb
blob
76b7c50872e5facdc8566322fc42f5edb2c37a9a
1
##
2
# Platform-specific behavior for Fixnum.
3
4
class Platform::Fixnum
5
6
##
7
# The maximum value that a Fixnum can hold.
8
#--
9
# TODO This is a method needs to have a consistent interface see e.g.
10
# Platform::Float
11
12
def self.MAX
13
# (2**29) - 1
14
0x1fff_ffff
15
end
16
17
##
18
# The minimum value a Fixnum can hold.
19
20
def self.MIN
21
~0x1fff_ffff
22
end
23
end