antirez/redis — Issue #264: ZUNIONSTORE can lead to NaN in score
Author: antirez
Created: 2011-12-21 15:06:54+00:00
State: open

Citing the author of the discovery:

amilcar54 commented on d9e28bc 9 minutes ago
I think you forgot the following case:

redis> zadd z -inf neginf
(integer) 1
redis> zunionstore out 1 z weights 0
(integer) 1
redis> zrange out 0 -1 withscores
1) "neginf"
2) "nan"