Package: libsigrok / 0.5.1-1

Metadata

Package Version Patches format
libsigrok 0.5.1-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 i386 test fix.diff | (download)

tests/strutil.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix unit tests on i386 by forcing floats to doubles
 The unit tests check that various macros and number to string
 functions operate as expected. However on i386 the precision of
 the floating point numbers is not quite as expected, which leads to
 test failures. These are not seen on x86_64 or other platforms, but
 can be worked around by casting the numbers in questions to double
 precision rather than defaulting to floats.
 .
 See https://www.earth.li/~noodles/blog/2017/08/help-me-c.html and the
 associated comments for further details.