
I tried to convert it to PureBasic for fun:
Code: Select all
a.f=1.0000001
b.f=a
For i=1 To 27
a=a*a
b=Pow(b,2) ; Wrong operator?
Next i
Debug a ; 8850397.0 (expected 568044)
Debug b ; 8850397.0 (expected 1202420)
I'd have thought the "a" variable value would be correct at least, but it's not.
And I'm not even sure what the symbol is doing for the "b" variable on line 25?
Can someone make the results match the Wikipedia pic?


