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

PRINT cannot handle large _Floats #169

Open
flukiluke opened this issue Jun 20, 2021 · 4 comments
Open

PRINT cannot handle large _Floats #169

flukiluke opened this issue Jun 20, 2021 · 4 comments

Comments

@flukiluke
Copy link
Contributor

Dim t As _Float
t = 1F300
Print t
Print Using "##.##################^^^^"; t
t = t * t
Print t
Print Using "##.##################^^^^"; t

Print is able to handle 1F300 but outputs INF D+300 when trying to print 1F600. Print Using correctly outputs the value.

@FellippeHeitor
Copy link
Contributor

Print calls STR$() internally, so that's where it must be.

@FellippeHeitor
Copy link
Contributor

Darn it, F in scientific notation? Wasn't it only D and E?

@FellippeHeitor
Copy link
Contributor

There goes:
image

@FellippeHeitor
Copy link
Contributor

Oh well... print using:
image

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

2 participants