Re-enable spec/library for full CI runs.
[rbx.git] / kernel / platform / fixnum.rb
blob76b7c50872e5facdc8566322fc42f5edb2c37a9a
1 ##
2 # Platform-specific behavior for Fixnum.
4 class Platform::Fixnum
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
12   def self.MAX
13     # (2**29) - 1
14     0x1fff_ffff
15   end
17   ##
18   # The minimum value a Fixnum can hold.
20   def self.MIN
21     ~0x1fff_ffff
22   end
23 end