Pivotal Labs

Main menu

Skip to primary content
Skip to secondary content
  • About
  • Case Studies
  • Team
    • Executives
    • Locations
      • San Francisco (HQ)
      • Boston
      • Boulder
      • Denver
      • London
      • Los Angeles
      • New York
  • Community
    • Blogs
    • Tech Talks
    • Events
  • Careers
    • Lifestyle
    • Principles & Practices
    • Benefits
    • FAQ
    • Apply
  • Contact
    • Press Room
    • Press Releases
    • In The News
    • Press Kit
  • All
  • Labs
  • Standup
  • Tracker

Please sir, I want some more pizza

Ryan Spore
Thursday, August 16, 2012

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.

  • 0 Shares
  • Share on Facebook
  • Share on Twitter

Add New Comment Cancel reply

Your email address will not be published.

Ryan Spore

Ryan Spore
San Francisco

Recent Posts

  • Get your volunteering hand ready
Subscribe to Ryan's Feed

Author Topics

agile (2)
  • About
  • Case Studies
  • Team
  • Community
  • Careers
  • Contact
  • Labs
  • Events

Contact Us

contact@pivotallabs.com
+1 415-77-PIVOT
TwitterLinkedInFacebook

Pivotal Tracker

Tracker is the award-winning agile project management tool that enables real-time collaboration around a shared, prioritized backlog.
Visit pivotaltracker.com >