Skip to content

Fix floating point number near 1.0#1180

Closed
dhylands wants to merge 1 commit intomicropython:masterfrom
dhylands:fix-float-near-1.0
Closed

Fix floating point number near 1.0#1180
dhylands wants to merge 1 commit intomicropython:masterfrom
dhylands:fix-float-near-1.0

Conversation

@dhylands
Copy link
Copy Markdown
Contributor

In particular, numbers which are less than 1.0 but which
round up to 1.0.

This also makes those numbers which round up to 1.0 to
print with e+00 rather than e-00 for those formats which
print exponents.

Fixes #1178

In particular, numbers which are less than 1.0 but which
round up to 1.0.

This also makes those numbers which round up to 1.0 to
print with e+00 rather than e-00 for those formats which
print exponents.
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.0%) to 93.08% when pulling 2eee1c9 on dhylands:fix-float-near-1.0 into 8b7faa3 on micropython:master.

@dpgeorge
Copy link
Copy Markdown
Member

Thanks Dave! Merged in b217869.

@dpgeorge dpgeorge closed this Apr 12, 2015
tannewt added a commit to tannewt/circuitpython that referenced this pull request Sep 12, 2018
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

Successfully merging this pull request may close these issues.

Strange floating point addition on Pyboard

3 participants