1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-26 18:01:35 +01:00

Merge pull request #172 from pacheco017/UnityPrintFloat-overflow-fixes

UnityPrintFloat overflow fixes. (Thanks pacheco017!)
This commit is contained in:
Mark VanderVoord
2016-02-24 20:16:45 -05:00
2 changed files with 12 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ void tearDown(void);
// - define UNITY_DOUBLE_PRECISION to specify the precision to use when doing TEST_ASSERT_EQUAL_DOUBLE
// - define UNITY_DOUBLE_TYPE to specify something other than double
// - define UNITY_DOUBLE_VERBOSE to print floating point values in errors (uses sprintf)
// - define UNITY_VERBOSE_NUMBER_MAX_LENGTH to change maximum length of printed numbers (used by sprintf)
// Output
// - by default, Unity prints to standard out with putchar. define UNITY_OUTPUT_CHAR(a) with a different function if desired