arturo-lang / arturo

Simple, expressive & portable programming language for efficient scripting
http://arturo-lang.io
MIT License
718 stars 32 forks source link

"Primorial numbers" RC example not working on Windows #1120

Open drkameleon opened 1 year ago

drkameleon commented 1 year ago

Source: https://github.com/arturo-lang/arturo/blob/master/examples/rosetta/primorial%20numbers.art

The expected output is:

First ten primorials:
1
2
6
30
210
2310
30030
510510
9699690
223092870

primorial 10 has 10 digits 
primorial 100 has 222 digits 
primorial 1000 has 3395 digits 
primorial 10000 has 45339 digits 
primorial 100000 has 563923 digits

The output - solely on Windows 😲 - is apparently:

First ten primorials:
1
2
6
30
210
2310
30030
510510
9699690
223092870

primorial 10 has 10 digits 
primorial 100 has 222 digits 
primorial 1000 has 3395 digits 
primorial 10000 has 45339 digits 
primorial 100000 has 563922 digits

(see the last line! ^)

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 7 months ago

Closing issue as stale.

stale[bot] commented 3 months ago

Closing issue as stale.