[FFmpeg-cvslog] softfloat: decrease MIN_EXP to cover full float range

Andreas Cadhalpun git at videolan.org
Fri Nov 25 02:25:21 EET 2016


ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Fri Nov 25 00:26:51 2016 +0100| [2d6f46d801bab990b7e742b8a8e5c5b0cb70a80e] | committer: Andreas Cadhalpun

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 at niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2d6f46d801bab990b7e742b8a8e5c5b0cb70a80e
---

 libavutil/softfloat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index 48d0d59..fa91d1e 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
 



More information about the ffmpeg-cvslog mailing list