under conditions of a task 2 precision is 4 digits. so you must compare with 0.0001f value.