mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 21:39:19 +08:00
98ceb162aa
Signed-off-by: dragondriver <jiquan.long@zilliz.com> Co-authored-by: xaxys <tpnnghd@163.com> Co-authored-by: xaxys <tpnnghd@163.com>
9 lines
171 B
Go
9 lines
171 B
Go
package planparserv2
|
|
|
|
const float64EqualityThreshold = 1e-9
|
|
|
|
func floatingEqual(a, b float64) bool {
|
|
// return math.Abs(a-b) <= float64EqualityThreshold
|
|
return a == b
|
|
}
|