cases when float x == x - 1: have a nice day