mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avutil/softfloat: Correctly set the exponent for 0.0 in av_sqrt_sf()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
dcf1cf5d24
commit
107db5abf3
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ static av_always_inline SoftFloat av_sqrt_sf(SoftFloat val)
|
|||
int tabIndex, rem;
|
||||
|
||||
if (val.mant == 0)
|
||||
val.exp = 0;
|
||||
val.exp = MIN_EXP;
|
||||
else
|
||||
{
|
||||
tabIndex = (val.mant - 0x20000000) >> 20;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue