1. 26 8月, 2017 2 次提交
    • J
      Make code C89-compliant. · 2ae2bdb3
      John Lindgren 提交于
      2ae2bdb3
    • J
      Rewrite UnityPrintFloat to match printf("%.6g"). · 0e7eb545
      John Lindgren 提交于
      The existing implementation was not very good:
       - It printed all very small values as "0.000000..."
       - It did not distinguish positive and negative zero
       - In some cases it printed extra garbage digits for single-precision values
         (e.g. 3.9e+30 was printed as 3.90000013+30)
      
      Tests have been updated to check that we now match printf("%.6g") for
      1,000,000 randomly chosen values, except for rounding of the 6th digit.
      0e7eb545
  2. 14 5月, 2017 1 次提交
  3. 27 3月, 2017 2 次提交
  4. 22 3月, 2017 4 次提交
  5. 21 3月, 2017 1 次提交
  6. 19 3月, 2017 1 次提交
  7. 02 3月, 2017 1 次提交
    • M
      Fix warning with ubsan and -Wconversion · 7bce0b4f
      Max Bruckner 提交于
      This fixes a compiler warning about a lossy conversion from long
      unsigned int to int when compiling unity with gcc 6.3.1 and
      the options -std=c89 -Wconversion -fsanitize=undefined
      7bce0b4f
  8. 01 3月, 2017 1 次提交
    • M
      Fix warnings with -Wdouble-promotion · 1bf22d39
      Max Bruckner 提交于
      This fixes compiler warnings that clang produces with the
      -Wdouble-promotion compiler option.
      
      This only happens if double precision floating point numbers are
      enabled.
      
      The implicit double promotion occurs because numbers of type UNITY_FLOAT
      are passed into UnityPrintFloat, which expects const UNITY_DOUBLE.
      
      This commit fixes it by explicitly casting to UNITY_DOUBLE.
      1bf22d39
  9. 25 1月, 2017 1 次提交
  10. 19 1月, 2017 1 次提交
    • J
      Ran Unity into a source code formatter, no code changes · 97e4bd25
      jsalling 提交于
      Used clang-format, which produces noise on stuff you don't care about
      and requires setting it up to match the existing code base. Kept the
      potentially useful changes, discarded the rest, some manual tweaking
      required. It did catch lots of pesky indentation mistakes.
      97e4bd25
  11. 18 1月, 2017 3 次提交
  12. 16 1月, 2017 1 次提交
  13. 15 1月, 2017 3 次提交
  14. 07 1月, 2017 1 次提交
  15. 31 12月, 2016 1 次提交
  16. 30 12月, 2016 1 次提交
  17. 29 12月, 2016 2 次提交
  18. 25 12月, 2016 1 次提交
  19. 24 12月, 2016 2 次提交
  20. 29 11月, 2016 1 次提交
  21. 20 11月, 2016 9 次提交