I think it would be better to `float` the value, then check if it is smaller than epsilon.