aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-25 00:26:51 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-11-27 00:38:58 +0100
commit88bf1d2749624cf78be0c5a5d74c169ad16ba99c (patch)
tree1a38a37cc6a082891ff7fec52f901e8e0f9cff31
parentdbad79248704d4b7cfcabbe46a734c51c1ada9a0 (diff)
downloadffmpeg-88bf1d2749624cf78be0c5a5d74c169ad16ba99c.tar.gz
softfloat: decrease MIN_EXP to cover full float range
floats are not necessarily normalized, so a normalized softfloat needs MIN_EXP lowered by 23 to cover that range. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 2d6f46d801bab990b7e742b8a8e5c5b0cb70a80e) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
-rw-r--r--libavutil/softfloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index df3fc798d7..35fd703fbe 100644
--- a/libavutil/softfloat.h
+++ b/libavutil/softfloat.h
@@ -27,7 +27,7 @@
#include "avassert.h"
#include "softfloat_tables.h"
-#define MIN_EXP -126
+#define MIN_EXP -149
#define MAX_EXP 126
#define ONE_BITS 29