the output of 2^1000 is wrong.
A Logo programming environment for Microsoft Windows
Brought to you by:
david_costanzo
The output of power 2 1000(2^1000) is 1.07150860718635e+301 in the FMSLogo.
But, the correct value in the MS windows calculator is 1.07150860718626732094842504906e+301.
From the 13th number under zero are wrong.
I found it when I tried to slove the problem 16 in the project euler.
show power 2 1000
1.07150860718627e+301
version 6.26
Even this way it works:
make "bunchof2s clona [1000 2]
show count :bunchof2s
1000
show first :bunchof2s
2
show apply "product :bunchof2s
1.07150860718627e+301
Based on your later comments, it sounds like you already know this but...
The output is not incorrect, it's imprecise. And the imprecision gets compounded in subsequent operations. FMSLogo uses as much precision as the CPU permits, but the windows calculator does extra work to support more precision. I'll keep this bug open as a feature request for a "big num" package, but I don't expect it will come anytime soon.