-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
Macros to optimize away float + 0.0 #21568
Merged
thinkyhead
merged 10 commits into
MarlinFirmware:bugfix-2.0.x
from
ramiropolla:bugfix-2.0.x-tern-math
Apr 9, 2021
Merged
Macros to optimize away float + 0.0 #21568
thinkyhead
merged 10 commits into
MarlinFirmware:bugfix-2.0.x
from
ramiropolla:bugfix-2.0.x-tern-math
Apr 9, 2021
Commits on Apr 8, 2021
-
macros: introduce TERNADD() and TERNSUB() for math operations
Using TERN0() for math is not a good idea. In the case of floats, it might make the compiler emit code for adding/subtracting 0.0f. It makes the code look less clean though :/
Configuration menu - View commit details
-
Copy full SHA for a931ae9 - Browse repository at this point
Copy the full SHA a931ae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e9906f - Browse repository at this point
Copy the full SHA 4e9906fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dadb1b - Browse repository at this point
Copy the full SHA 8dadb1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 364bb60 - Browse repository at this point
Copy the full SHA 364bb60View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1d5b34 - Browse repository at this point
Copy the full SHA e1d5b34View commit details -
Configuration menu - View commit details
-
Copy full SHA for cca5c0f - Browse repository at this point
Copy the full SHA cca5c0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c16261 - Browse repository at this point
Copy the full SHA 4c16261View commit details
Commits on Apr 9, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 84b5938 - Browse repository at this point
Copy the full SHA 84b5938View commit details -
Configuration menu - View commit details
-
Copy full SHA for 068de29 - Browse repository at this point
Copy the full SHA 068de29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42f658f - Browse repository at this point
Copy the full SHA 42f658fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.