mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Fixed a wrong conversion in ByteVector::toFloat64BE().
This commit is contained in:
parent
c94d482215
commit
65beb8cc06
@ -785,7 +785,7 @@ double ByteVector::toFloat64BE(size_t offset) const
|
||||
return 0.0;
|
||||
}
|
||||
else
|
||||
val = ::ldexp(1.0 + static_cast<double>(fraction), exponent - 1023 - 52);
|
||||
val = ::ldexp(static_cast<double>(fraction), exponent - 1023 - 52);
|
||||
}
|
||||
|
||||
if(negative)
|
||||
|
Loading…
x
Reference in New Issue
Block a user