I'm sure this has been asked before, but I couldn't find it while googling. Hopefully someone can point me in the right direction.
Why is there no try_into to convert floats to integers or fail if the conversion would be lossy? It seems like such an implementation would be well defined and useful.