ceylon/ceylon.language — comment on commit ed96b94b1f793d89321007cfdf9ef889380b17d5
File:  line 0
By tombentley:

OK, so thinking about it, this overflow check is completely wrong. It doesn't matter that a sufficiently large Float cannot represent distinct integers. The fact is that the float represents *an* integer which we can convert it to. The above logic should be applied to Integer.float.