summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio/gru/mathmisc.py
diff options
context:
space:
mode:
authorClayton Smith <argilo@gmail.com>2020-10-28 20:22:43 -0400
committerMarcus Müller <marcus@hostalia.de>2020-10-29 17:21:16 +0100
commit3cbafe0de5f488162a929dad94aa2b99626eea44 (patch)
treebbdc1d0670b14635a5d7ab0986a3dc6acf762956 /gnuradio-runtime/python/gnuradio/gru/mathmisc.py
parent9891bc5e71a2256a7440fe75390e99191dba11b2 (diff)
Remove gcd, lcm, and log2 from gru module
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gru/mathmisc.py')
-rw-r--r--gnuradio-runtime/python/gnuradio/gru/mathmisc.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gru/mathmisc.py b/gnuradio-runtime/python/gnuradio/gru/mathmisc.py
deleted file mode 100644
index 86594db087..0000000000
--- a/gnuradio-runtime/python/gnuradio/gru/mathmisc.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# Copyright 2005 Free Software Foundation, Inc.
-#
-# This file is part of GNU Radio
-#
-# SPDX-License-Identifier: GPL-3.0-or-later
-#
-#
-
-import math
-
-def gcd(a,b):
- while b:
- a,b = b, a % b
- return a
-
-def lcm(a,b):
- return a * b // gcd(a, b)
-
-def log2(x):
- return math.log(x) / math.log(2)