1. 12 Mar, 2019 1 commit
  2. 21 Dec, 2018 1 commit
    • Simon Gene Gottlieb's avatar
      Fix float precision (#649) · abf941b2
      Simon Gene Gottlieb authored
      The issue is that numbers like
      2.01 or 3.01 can not be precisely represented with binary floating point
      numbers.
      
      This replaces all occurrences of 'std::numeric_limits<T>::digits10 + 1' with
      'std::numeric_limits<T>::max_digits10'.
      
      Background:
      Using 'std::numeric_limits<T>::digits10 + 1' is not precise enough.
      Converting a 'float' into a 'string' and back to a 'float' will not always
      produce the original 'float' value. To guarantee that the 'string'
      representation has sufficient precision the value
      'std::numeric_limits<T>::max_digits10' has to be used.
      abf941b2
  3. 03 Sep, 2018 1 commit
  4. 28 Jan, 2018 1 commit
  5. 02 Dec, 2016 1 commit
  6. 12 Oct, 2016 1 commit
  7. 02 Apr, 2016 2 commits
  8. 26 Mar, 2016 1 commit
  9. 10 Jan, 2016 1 commit
  10. 29 Mar, 2015 1 commit
  11. 24 Jan, 2015 5 commits
  12. 24 Mar, 2014 4 commits
  13. 23 Mar, 2014 9 commits