Changes

Jump to: navigation, search

Ruby Number Classes and Conversions

4 bytes added, 21:20, 30 November 2007
Fixnum Class
A Fixnum holds Integer values that can be represented in a native machine word (minus 1 bit). This effectively means that the maximum range of a Fixnum value depends on the architecture of the system on which the code is executing.
If an operation performed on a Fixnum exceeds the range defined by the system's marchine word, the value is automatically converted by the interpreter to a Bignum.
=== Bignum Class ===

Navigation menu