diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2016-10-30 03:26:00 +0300 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2016-11-21 11:05:34 +0100 |
commit | 858196e931e0076c61bc9c816b032a2f4991661c (patch) | |
tree | 0cfef0a3a9064391a6a2b572c15f2cf7aabccc64 /libass.pc.in | |
parent | 580ae2197df3559e25f0ea3cc98ef989d9cd139e (diff) | |
download | libass-858196e931e0076c61bc9c816b032a2f4991661c.tar.bz2 libass-858196e931e0076c61bc9c816b032a2f4991661c.tar.xz |
ass_strtod: skip leading zeros in mantissa
ass_strtod reads at most 18 leading digits of the mantissa.
This previously included zeros, even though they are not significant
digits, e. g. 0.000000000000000001e18 was converted to 0.0.
After this commit, leading zeros before and after the decimal point
will be skipped, so the above number will be correctly converted to 1.0.
Diffstat (limited to 'libass.pc.in')
0 files changed, 0 insertions, 0 deletions