Closed maizy closed 4 months ago
+inf, -inf are supported as a score in redis sorted set commands.
+inf
-inf
Infinity can be passed as a parameter to ZADD and received as a result from Z*WITHSCORE, ZSCORE, ZMSCORE, BZPOP* etc.
ZADD
Z*WITHSCORE
ZSCORE
ZMSCORE
BZPOP*
In the model we can map ±inf to Double.PositiveInfinity and Double.NegativeInfinity.
Double.PositiveInfinity
Double.NegativeInfinity
Strange thing: despite the fact that +inf is passed as a parameter with a plus at the end, it returns as inf without +.
inf
+
It's a part of #352, which I'm going to implement later.
+inf
,-inf
are supported as a score in redis sorted set commands.Infinity can be passed as a parameter to
ZADD
and received as a result fromZ*WITHSCORE
,ZSCORE
,ZMSCORE
,BZPOP*
etc.In the model we can map ±inf to
Double.PositiveInfinity
andDouble.NegativeInfinity
.Strange thing: despite the fact that
+inf
is passed as a parameter with a plus at the end, it returns asinf
without+
.It's a part of #352, which I'm going to implement later.