Skip to content
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

strtox bug with negative exponent #30

Open
Alone-Coder opened this issue Jul 15, 2022 · 0 comments
Open

strtox bug with negative exponent #30

Alone-Coder opened this issue Jul 15, 2022 · 0 comments

Comments

@Alone-Coder
Copy link

;Power of 10 is stored in B, need to put in A first
xor a
sub b
ld de,pow10table+120
jp p,+_

doesn't work with numbers like 1e-2.
This works for me ("calc" in NedoOS):

;Power of 10 is stored in BC, need to put in A first
xor a
or b
ld de,pow10table+120
jp p,+_

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