class

Integer

v2_1_10 - Show latest stable - Superclass: Numeric

This class is the basis for the two concrete classes that hold whole numbers, Bignum and Fixnum.


BigDecimal extends the native Integer class to provide the #to_d method.

When you require the BigDecimal library in your application, this methodwill be available on Integer objects.


Add double dispatch to Integer

Files

  • ext/bigdecimal/lib/bigdecimal/util.rb
  • ext/openssl/lib/openssl/bn.rb
  • lib/prime.rb
  • numeric.c
  • rational.c