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

Andreas Cadhalpun git at videolan.org
Sun Nov 27 01:30:15 EET 2016


ffmpeg | branch: release/3.1 | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Fri Nov 25 00:26:51 2016 +0100| [5d1502d4b68c458522e5a6fc446d5b0e5f88bffb] | 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>
(cherry picked from commit 2d6f46d801bab990b7e742b8a8e5c5b0cb70a80e)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>

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

 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