Page MenuHomePhabricator

Set result_emulated to a value that is known to be wrong in intmath_tests.cpp
ClosedPublic

Authored by deadalnix on Oct 14 2021, 16:30.

Details

Summary

Computation is done using unsigned, so that overflow is not UB.

Test Plan
ninja check

Also do it using ubsan

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable