# FW: Bignum Parsing

**URL:** <https://www.ruby-forum.com/t/fw-bignum-parsing/120644>\
**Category:** IronRuby\
**Created:** [November 19, 2007, 2:57pm UTC](https://www.ruby-forum.com/t/fw-bignum-parsing/120644 "2007-11-19T14:57:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![editkid](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/977dab/32.png) [@editkid](https://www.ruby-forum.com/u/editkid)\
**Post date:** [November 19, 2007, 2:57pm UTC](https://www.ruby-forum.com/t/fw-bignum-parsing/120644/1 "2007-11-19T14:57:04Z")

</div>

And neither did this.

Pete

From: Peter Bacon D. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
Sent: Sunday,18 November 18, 2007 06:56  
To: ‘removed\_email\_address@domain.invalid’  
Subject: Bignum Parsing

A simple patch that gets the parsing of Bignums by the Ruby Tokenizer up  
and  
running.

A new Create method in BigInteger uses the same algorithm, more or less,  
as  
IronPython so I assume that this is OK; clearly it could be optimized  
but  
then how often are Bignums parsed in anyway?

Patched up the Tokenizer too so that it calls this method and you can  
now  
write really big numbers into rbx, like

> > > 88888888888888888888888888.

=\> #Bignum:0x0000058

Pete
