Re: [Factor-talk] Digits of Pi

2009-05-30 Thread Slava Pestov
Hi Peter, Take a look at the implementation in extra/benchmark/pidigits/, it's a bit cleaner. Slava On Fri, May 29, 2009 at 11:04 PM, Peter Salvi vuk...@yahoo.com wrote: Hi, after spending a few nights reading Factor code, I've decided to try my hand at writing some code myself. I selected

Re: [Factor-talk] Digits of Pi

2009-05-30 Thread Peter Salvi
Slava Pestov sl...@... writes: Take a look at the implementation in extra/benchmark/pidigits/, it's a bit cleaner. Thanks, didn't realize that it was already done. Peter -- Register Now for Creativity and

[Factor-talk] Digits of Pi

2009-05-29 Thread Peter Salvi
Hi, after spending a few nights reading Factor code, I've decided to try my hand at writing some code myself. I selected the `pidigits' problem from the `Computer Language Benchmarks Game' for practice, and here's the result: http://paste.factorcode.org/paste?id=703 I would be grateful if