From 6b91e76cfdd409e494fc2555af48037bbe286800 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 22 Jul 2021 15:44:17 +0300 Subject: Moved ctfcMath functionality to utils --- go-src/ctfcMath/ctfcMath.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 go-src/ctfcMath/ctfcMath.go (limited to 'go-src/ctfcMath/ctfcMath.go') 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))) -} -- cgit v1.2.3