Comparing floats is tricky. Use either epsilon, epsilon with relative error or ULP's (all are tricky)
Comparing floats is tricky. Use either epsilon, epsilon with relative error or ULP's (all are tricky)