antirez/redis — Issue #265: ZINCRBY Behaviour is inconsistent with ZINTERSTORE/ZUNIONSTORE
Author: amilcar54
Created: 2011-12-21 15:23:47+00:00
State: open

Check this behaviour:

```sh
redis> zadd z1 inf value
(integer) 1
redis> zadd z2 -inf value
(integer) 1
redis 127.0.0.1:6378> zinterstore out 2 z1 z2
(integer) 1
redis 127.0.0.1:6378> zrange out 0 -1 withscores
1) "value"
2) "0"
```
```sh
redis> zadd z1 inf value
(integer) 1
redis> zincrby z1 -inf value
(error) ERR resulting score is not a number (NaN)
```
Shouldn't it return '0' instead?