|
|
|
|
|
by gns24
3005 days ago
|
|
Exactly. If we're storing the positional value into 64-bits then there must be some patterns of 64 inserts which don't fit. The decimal solution is really not bad. You could improve on it by not taking the midpoint between the two values you're inserting between, but rather another point which doesn't require an extra digit, when that's possible, but really that's very likely to be an unnecessary optimisation. So continual insertion on the end might give 0.5, 0.8, 0.9, 0.95, 0.98 0.99, 0.995... |
|