diff options
| Commit | 6b91e76cfdd409e494fc2555af48037bbe286800 (patch) | |
|---|---|---|
| Author | 2021-07-22 15:44:17 +0300 | |
| Committer | 2021-07-22 15:44:17 +0300 | |
| Files | 2a0975d12900b78a8b4b550f43c73261b2a000ba /go-src/ctfcMath | |
| ctfc-6b91e76cfdd409e494fc2555af48037bbe286800.tar ctfc-6b91e76cfdd409e494fc2555af48037bbe286800.tar.gz ctfc-6b91e76cfdd409e494fc2555af48037bbe286800.zip | ||
| Parent | 8c758581a466f640201d044bf18a95882e1c86c3 (diff) | |
Moved ctfcMath functionality to utils
1 files changed, 0 insertions, 14 deletions
| -rw-r--r-- | go-src/ctfcMath/ctfcMath.go | 14 |
diff --git a/go-src/ctfcMath/ctfcMath.go b/go-src/ctfcMath/ctfcMath.go deleted file mode 100644 index 5dfc613..0000000 --- a/go-src/ctfcMath/ctfcMath.go +++ /dev/null @@ -1,14 +0,0 @@ -package ctfcmath - -import "math" - -func MaxInt(x int, y int) int { - if x > y { - return x - } - return y -} - -func CeilDivInt(x int, y int) int { - return int(math.Ceil(float64(x) / float64(y))) -} |
