[Pharo-project] This is so cool, and we can compute it !

Norbert Hartl norbert at hartl.name
Fri Jan 27 05:08:40 EST 2012


Am 26.01.2012 um 20:44 schrieb Sven Van Caekenberghe:

> This is so cool, and we can compute it using Pharo Smalltalk.
> 
> Try inspecting or printing the result of these expressions:
> 
>  1/9801 asScaledDecimal: 200
> 
>  1/998001 asScaledDecimal: 3000
> 
> And have a good look at the regularity in the digits of the fraction.
> 
I think I've found a bug. Mine ends with

...

990991992993994995996997999000s3000

You can see after 997 there is 999. :)

Norbert





More information about the Pharo-dev mailing list