From d39d40c826a1b8e66c4789622c1287d439a26645 Mon Sep 17 00:00:00 2001
From: Marcus Müller <mueller@kit.edu>
Date: Thu, 13 Feb 2020 21:01:56 +0100
Subject: runtime/viterbi: get rid of GR_M_LOG2E constant

Constant was only used to emulate log_2 from ln.

Which is a strange thing to do on a computer with binary floating point
numbers.

Which is a superfluous thing to do when you have ::log2 in C++11.
---
 gnuradio-runtime/include/gnuradio/math.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gnuradio-runtime/include/gnuradio/math.h')

diff --git a/gnuradio-runtime/include/gnuradio/math.h b/gnuradio-runtime/include/gnuradio/math.h
index f628a5875c..e4e2d90315 100644
--- a/gnuradio-runtime/include/gnuradio/math.h
+++ b/gnuradio-runtime/include/gnuradio/math.h
@@ -28,7 +28,7 @@
  * compile. GR_M_PI actually works with C++ but is defined here for the sake
  * of consistency.
  */
-#define GR_M_LOG2E 1.4426950408889634074          /* log_2 e */
+
 #define GR_M_PI 3.14159265358979323846            /* pi */
 #define GR_M_PI_4 0.78539816339744830961566084582 /* pi/4 */
 #define GR_M_TWOPI 6.28318530717958647692         /* 2*pi */
-- 
cgit v1.2.3