> What about relational operators?
> the truncating effect of integer->float will give strange results when doing (say) table.sort() on mixes of floats and integers.
That is true, but I think this is a "smaller" problem for several reasons:
- table.sort is strongly associated with "<", so it seems more
reasonable to get "strange" results when "<" is strange.
- You can set your own order method if you want a different comparsion.
- We already have "strange" results if the table has NaNs or if you
provide an inconsistent comparsion function.