Skip to content

The loop example in the README seems wrong to me #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pesekon2 opened this issue Mar 22, 2024 · 0 comments
Open

The loop example in the README seems wrong to me #1

pesekon2 opened this issue Mar 22, 2024 · 0 comments

Comments

@pesekon2
Copy link

The README claims the following:

Loops

This program will output numbers from 14 to 0:

a !ba g g g g g o! fuck

However, it seems wrong to me. Doesn't it actually output numbers from 13 to 0? Or should the definition line mean numbers smaller than 14 and greater or equal to 0? See the following enumeration for the first iteration:

 a  !b   a     g     g     g     g     g    o! fuck
(7 - 8 + 7 + 0.1 + 0.1 + 0.1 + 0.1 + 0.1) * 2

That seems like 13 to me.

But it could be that I'm getting wrong the meaning of g because the use in my example is g - 10^-x ie added to the current value, the amount of uninterrupted g instructions determines the x. From the definition in the README (g - 10^-x ie added to the current value, the amount of the next g instructions determines the x), I would understand g in the example is always either 1 or one 10^-5. But both of these make even less sense than the one I am using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant