I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)

Talk:Almkvist-Giullera formula for pi

From Rosetta Code

Julia answer for Pi is wrong[edit]

After spending several minutes trying to figure out why my Wren entry was disagreeing with Julia, it turned out that the latter is wrong - Python, REXX and an independent source all agree on this - though, looking at the code, I couldn't see anything obviously wrong. --PureFox (talk) 10:56, 12 October 2020 (UTC)

Ah, it turns out setprecision() takes an argument in significant bits, not decimal digits! Thanks for the comment, fixed. --Wherrera (talk) 19:08, 12 October 2020 (UTC)

I wondered whether it might be something like that when I added the Go solution where you also have to estimate how many bits of precision you need for a given number of decimal places. Anyway, glad you've fixed it now :) --PureFox (talk) 20:47, 12 October 2020 (UTC)