You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
This is definitely a thing I want to implement, but I'm not sure how. Would all numbers/variables be treated as float numbers? That would be much slower than just 3-byte integers. On the other side, I can't detect if a variable is a float or an integer, for example this: 2->A:If B:2.5->A.
The text was updated successfully, but these errors were encountered:
Idea: prescan the program multiple times, and if it sees a float being stored to a variable, mark that variable as a float. If that variable is used in another expression to store to another variable, mark that variable as a float too, etc, until no more floats are found. This means that 2->A:A/2->B results in B being an integer, but 2.0->A:A/2->B in a float.
This is definitely a thing I want to implement, but I'm not sure how. Would all numbers/variables be treated as float numbers? That would be much slower than just 3-byte integers. On the other side, I can't detect if a variable is a float or an integer, for example this:
2->A:If B:2.5->A
.The text was updated successfully, but these errors were encountered: