first commit

This commit is contained in:
Yangtao
2025-11-18 17:48:20 +08:00
commit 6e56cab848
196 changed files with 65809 additions and 0 deletions

7
pkg/tools/float_util.go Normal file
View File

@ -0,0 +1,7 @@
package tools
import "math"
func Float64EqualsZero(data float64) bool {
return math.Abs(data-0) < 1e-5
}