Skip to content

Conversation

caoddx
Copy link
Contributor

@caoddx caoddx commented Jan 20, 2021

Summary of changes

Fix #14069

Need this configuration file for testing: platform/tests/TESTS/mbed_platform/minimal-printf/compliance/test_config.json

Documentation

none


Pull request type

  • Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
  • Feature update (New feature / Functionality change / New API)
  • Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

  • No Tests required for this change (E.g docs only update)
  • Covered by existing mbed-os tests (Greentea or Unittest)
  • Tests / results supplied as part of this PR

Reviewers


@ciarmcom ciarmcom requested review from a team January 20, 2021 13:30
@ciarmcom
Copy link
Member

@caoddx, thank you for your changes.
@ARMmbed/mbed-os-core @ARMmbed/mbed-os-maintainers please review.

@mergify mergify bot added needs: CI and removed needs: review labels Jan 22, 2021
@ciarmcom ciarmcom added the stale Stale Pull Request label Jan 24, 2021
@ciarmcom
Copy link
Member

This pull request has automatically been marked as stale because it has had no recent activity. @ARMmbed/mbed-os-maintainers, please start CI to get the PR merged.

Copy link
Contributor

@evedon evedon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line was indeed missing from the final review of the PR, as we can see here https://github.com/ARMmbed/mbed-os/pull/13548/files#r537611861

Thanks for the fix!

@0xc0170 0xc0170 added release-type: patch Indentifies a PR as containing just a patch and removed stale Stale Pull Request labels Jan 26, 2021
@ciarmcom ciarmcom added the stale Stale Pull Request label Jan 26, 2021
@0xc0170
Copy link
Contributor

0xc0170 commented Feb 4, 2021

CI started

@mbed-ci
Copy link

mbed-ci commented Feb 4, 2021

Jenkins CI Test : ✔️ SUCCESS

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️
jenkins-ci/mbed-os-ci_cmake-example-test ✔️

@0xc0170 0xc0170 merged commit fb0d646 into ARMmbed:master Feb 5, 2021
@mergify mergify bot removed the ready for merge label Feb 5, 2021
@mbedmain mbedmain added release-version: 6.8.0 Release-pending and removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Feb 16, 2021
LarsTimm added a commit to AudioStreamingPlatform/mbed-os that referenced this pull request Mar 17, 2021
Backported ARMmbed#14179 to fix printing floats.
3.3 would be printed as 3.03, as would 3.4 as the integer value was printed after the decimal point also.

Even with this fix there where another corner case.
0.9976 would be printed as 0.100 as 99 was rounded up without overflowing to the integer value.
With this change 0.9976 is printed as 0.99 (Overflow to integer quite complex...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[mbed-os-6.6.0] minimal-printf incorrect output
6 participants