diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-07-22 15:44:17 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-07-22 15:44:17 +0300 |
| commit | 6b91e76cfdd409e494fc2555af48037bbe286800 (patch) | |
| tree | 2a0975d12900b78a8b4b550f43c73261b2a000ba /go-src/ctfcMath/ctfcMath.go | |
| parent | 8c758581a466f640201d044bf18a95882e1c86c3 (diff) | |
| download | ctfc-6b91e76cfdd409e494fc2555af48037bbe286800.tar ctfc-6b91e76cfdd409e494fc2555af48037bbe286800.tar.gz ctfc-6b91e76cfdd409e494fc2555af48037bbe286800.zip | |
Moved ctfcMath functionality to utils
Diffstat (limited to 'go-src/ctfcMath/ctfcMath.go')
| -rw-r--r-- | go-src/ctfcMath/ctfcMath.go | 14 |
1 files changed, 0 insertions, 14 deletions
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))) -} |
