On 2014-01-23 10:34, Dave Angel wrote:
> Unsure of what the floats have to do with it. Perhaps you meant
> float KEYS.
using floats for keys can be dangerous, as small rounding errors in
math can produce keys different enough that they're not found by an
exact-match lookup. But yeah, the original problem specification was
rather wanting in detail. I tried my best at interpreting it, for
whatever that may be worth.
-tkc
> Unsure of what the floats have to do with it. Perhaps you meant
> float KEYS.
using floats for keys can be dangerous, as small rounding errors in
math can produce keys different enough that they're not found by an
exact-match lookup. But yeah, the original problem specification was
rather wanting in detail. I tried my best at interpreting it, for
whatever that may be worth.
-tkc