Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
Please sir, I want some more pizza

Interestings

  • Where’s my last bit?

    1.9.3p194 :019 > (2**62).class.name
    => “Bignum”
    1.9.3p194 :020 > (2**62 – 1).class.name
    => “Fixnum”

Q: Why is this not 2**63?
A: Fixnum object ids are the odd numbers, eg, 2.object_id = 5. This means you run out of bits one bit early.

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *