diff options
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gru/mathmisc.py')
-rw-r--r-- | gnuradio-runtime/python/gnuradio/gru/mathmisc.py | 21 |
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) |