Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavutil/intfloat_readwrite.c (1 of 27 files). Show all
Unified · Split
| @@ -22,7 +22,7 @@ · 21 unmodified lines | |||
| 22 | 22 | ||
| 23 | /** | 23 | /** |
| 24 | * @file intfloat_readwrite.c | 24 | * @file intfloat_readwrite.c |
| 25 | * Portable IEEE float/double read/write functions. | 25 | * portable IEEE float/double read/write functions |
| 26 | */ | 26 | */ |
| 27 | 27 | ||
| 28 | #include "common.h" | 28 | #include "common.h" |
| @@ -51,7 +51,7 @@ double av_ext2dbl(const AVExtFloat ext){ · 22 unmodified lines | |||
| 51 | return 0.0/0.0; | 51 | return 0.0/0.0; |
| 52 | e -= 16383 + 63; /* In IEEE 80 bits, the whole (i.e. 1.xxxx) | 52 | e -= 16383 + 63; /* In IEEE 80 bits, the whole (i.e. 1.xxxx) |
| 53 | * mantissa bit is written as opposed to the | 53 | * mantissa bit is written as opposed to the |
| 54 | * single and double precision formats */ | 54 | * single and double precision formats. */ |
| 55 | if (ext.exponent[0]&0x80) | 55 | if (ext.exponent[0]&0x80) |
| 56 | m= -m; | 56 | m= -m; |
| 57 | return ldexp(m, e); | 57 | return ldexp(m, e); |