Remove any precision problem by comparing the float values
Rational values are move precise than float values so when comparing rationals values may be off by a few units that are hard to assert equality. Let's make sure we are comparing the float value with float values.
Showing
想要评论请 注册 或 登录