... 可点数的 enumerable 浮点数的比较 floating-point number comparison 定点数和浮点数的表示 (representation of fixed point ...
基于2个网页-相关网页
当然,结果不一定是有意义的 —— 比如字符串和浮点数的比较就没有意义。
Sure, the result would not necessarily be meaningful -- a string is neither objectively less than nor greater than a float.
为什么需要用单独的宏进行浮点数比较?
Why do you need separate macros for floating point comparisons?
当然,这并不总是可能的,但您应该意识到要限制浮点数比较。
This is, of course, not always possible, but you should be aware of the limitations of floating point comparison.
应用推荐