tests/check-qnum: Cover qnum_to_string() for "unround" argument
authorMarkus Armbruster <armbru@redhat.com>
Thu, 10 Dec 2020 16:14:47 +0000 (17:14 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Sat, 19 Dec 2020 09:37:16 +0000 (10:37 +0100)
commit1a9076919f5367309ee8d89b91aae5330dec37d6
treec7fdd68b3ad405a18d0bc10bedd820a0b69ed383
parent780df5d42befde9293cd667e1e237f26bcf37e94
tests/check-qnum: Cover qnum_to_string() for "unround" argument

qnum_to_string() has a FIXME comment about rounding errors due to
insufficient precision.  Cover it: 2.718281828459045 gets converted to
"2.718282".  The next commit will fix it.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201210161452.2813491-6-armbru@redhat.com>
tests/check-qnum.c