Floats as keys in dict
brian at rkspeed-rugby.dk
Thu Aug 2 09:59:26 CEST 2007
greg <greg at cosc.canterbury.ac.nz> writes:
> Be careful with this. If you have two values that are
> very close together, but on different sides of a rounding
> boundary, they will end up as distinct keys even though
> they "should" be regarded as equal.
I don't think this is a big problem. It will only give me one more
Wouldn't the same be possible if I use bisect?
Brian (remove the sport for mail)
More information about the Python-list