1. 17 Nov, 2015 29 commits
  2. 13 Nov, 2015 1 commit
  3. 10 Nov, 2015 1 commit
  4. 09 Nov, 2015 5 commits
  5. 05 Nov, 2015 2 commits
  6. 04 Nov, 2015 2 commits
    • antirez's avatar
      Fix HINCRBYFLOAT to work with long doubles. · 71aa9b75
      antirez authored
      During the refactoring needed for lazy free, specifically the conversion
      of t_hash from struct robj to plain SDS strings, HINCRBFLOAT was
      accidentally moved away from long doubles to doubles for internal
      processing of increments and formatting.
      
      The diminished precision created more obvious artifacts in the way small
      numbers are formatted once we convert from decimal number in radix 10 to
      double and back to its string in radix 10.
      
      By using more precision, we now have less surprising results at least
      with small numbers like "1.23", exactly like in the previous versions of
      Redis.
      
      See issue #2846.
      71aa9b75
    • antirez's avatar
      Add regression test for HINCRBYFLOAT formatting change. · f6255703
      antirez authored
      This test was kindly provided by Jan-Erik Rediger (@badboy here on
      Github) that discovered the issue.
      
      See issue #2846.
      f6255703