In skiplist implentation part, I see the code x->level[i].forward->score == score, why do this ? I think it is better to use epsilon compare, such as fabs(x->level[i].forward->score - score) < small value.

Comment From: wangshangming

I'm confused too.

Comment From: antirez

Using epsilon comparison would actually break the skiplist implementation. We only have inside values that can be represented well in the floating numbers of the system, since they always came from conversions using the same set of functions. The user never specifies a score from the outside in order to perform a lookup of a single element.