HomePhabricator

test: Fix failing univalue float test

Description

test: Fix failing univalue float test

Summary:

Currently the test may fail for some compilers, because 1e-8 may not be possible to represent exactly/consistently.

Backport of core#29892.

Depends on D16296.

Test Plan:

ninja check check-univalue

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D16297

Details

Provenance
FabienAuthored on Jun 5 2024, 21:52
FabienPushed on Jun 6 2024, 10:38
Reviewer
Restricted Project
Differential Revision
D16297: test: Fix failing univalue float test
Parents
rABCd3460c587e60: Remove unused raw-pointer read helper from univalue
Branches
Unknown
Tags
Unknown