mkvtoolnix/tests/unit/common
Moritz Bunkus efa42bd7cc parse_number_with_unit: don't use double; fix "i" unit for fraction syntax
This re-writes the "parse_number_with_unit" not to use the "double" data
type internally but int64_t-based fractions. This fixes issues with
"double" precision on certain 32bit platforms and test cases failing.
This is a fix for #1705.

Due to this change the handling of the syntax "1234/56i" with "i" as the
unit was fixed as well. Before the value was wrongfully multiplied
instead of divided by 2 leading to quadruple the expected value being
returned. This was mentioned in and fixes part of #1673.
2016-06-04 13:22:46 +02:00
..
basic_timecode_c.cpp
bit_cursor.cpp
checksums.cpp
codec.cpp
common.cpp
construct_equality.cpp
ebml_chapters_converter.cpp
ebml_segmentinfo_converter.cpp
ebml_tags_converter.cpp
endian.cpp
fourcc.cpp
list_utils.cpp
math.cpp
mm_io.cpp
option_with_source.cpp
Rakefile
strings_editing.cpp
strings_formatting.cpp
strings_parsing.cpp