Talk:Almkvist-Giullera formula for pi: Difference between revisions
Talk:Almkvist-Giullera formula for pi (view source)
Revision as of 02:25, 2 September 2023
, 8 months ago→Divide by zero error in big.wren; shouldn't there be a little more robust error-handling in the big.wren Library?: new section
(→Julia answer for Pi is wrong: Responded to Wherrera) |
|||
Line 5:
: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 :) --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 20:47, 12 October 2020 (UTC)
== Divide by zero error in big.wren; shouldn't there be a little more robust error-handling in the big.wren Library? ==
wren_cli ./almkvist_giullera_formula_for_pi.wren
N Integer Portion Pow Nth Term (33 dp)
-----------------------------------------------------------------------------------------
Cannot divide by zero.
[../RC_Wren_Lib/big line 472] in divModAny_(_,_)
[../RC_Wren_Lib/big line 1114] in /(_)
[../RC_Wren_Lib/big line 628] in gcd(_,_)
[../RC_Wren_Lib/big line 1727] in init new(_,_)
[../RC_Wren_Lib/big line 1734] in
[./almkvist_giullera_formula_for_pi line 17] in new(_) block argument
[./almkvist_giullera_formula_for_pi line 28] in (script)
Thanks,
Retired_Build_Engineer
|