commit | cf6fb4dea2a4648a6e0adecb9e03e966af10e1e6 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <npitre@baylibre.com> | Mon Dec 07 17:56:14 2020 -0500 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Dec 08 14:09:15 2020 -0500 |
tree | e0b403cf11ef366c2be16f641051546570e42bd4 | |
parent | adb80877077e8793c1a113e68d819087582941cc [diff] |
lib: cbprintf: float conversion optimization and documentation While documenting the float conversion code, I found there was room for some optimization. In doing so I added test cases to cover edge cases e.g. making sure proper rounding is applied and that no loss of precision was introduced. Compiled code should be smaller and faster. Signed-off-by: Nicolas Pitre <npitre@baylibre.com>