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-25 01:23:48 +0100
commit2d6f46d801bab990b7e742b8a8e5c5b0cb70a80e (patch)
treee26fdb75eb454b36f0584768ee3aaa8cf13a56d5
parentc9d1f4883d87f70448319cb80607bac23113a0b5 (diff)
downloadffmpeg-2d6f46d801bab990b7e742b8a8e5c5b0cb70a80e.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>
-rw-r--r--libavutil/softfloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 48d0d59fd4..fa91d1e1cb 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