On Wed, Mar 6, 2013 at 4:37 PM, Pritam Dey <lists / ruby-forum.com> wrote:
> Great Thanks to you guys:
>
> Just need to stuck myself from two more areas.
>
> From the same doc:
>
> (a) While Fixnum values are immediate, Bignum objects are not =97
> assignment and parameter passing work with references to objects, not
> the objects themselves. - Actually as far as I know we are passing the
> references to the objects,not the actual objects. But here I couldn't
> follow the taste.

See earlier

> (b)When a calculation involving Bignum objects returns a result that
> will fit in a Fixnum, the result is automatically converted. - In `C` I
> found some rules such automatic conversions. But does the same
> applicable here also or other rules defined here specially for Ruby?

See ealier

> (c)For the purposes of the bitwise operations and [], a Bignum is
> treated as if it were an infinite-length bitstring with 2=92s complement
> representation. - Why so?

Because it's the most reasonable thing to do when dealing with binary
numbers of arbitrary number of bits.

Cheers

robert

--=20
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/