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

native 16bit int and large floats fix #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 20, 2020

  1. native 16bit int and large floats fix

    On a processor where an int is 16 bit, the max float value will be capped to 32767 due to type conversions. The PRINTF_MAX_FLOAT define is meant to prevent the limitation being exposed but it was written with 32 bit ints in mind. Explicitly setting the conversion type to int32_t fixes this. Added a note in readme against the define as a gotcha
    StuartGorman committed Mar 20, 2020
    Configuration menu
    Copy the full SHA
    145ded0 View commit details
    Browse the repository at this point in the history