Skip to content

Commit 9775e79

Browse files
committed
Add positive side testing values
1 parent ce58f98 commit 9775e79

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_upward_rounding.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,10 @@ int main()
4747
test_add<decimal64_t>("-1e+1", "+1e-383", "-9.999999999999999");
4848
test_add<decimal64_t>("-1e+0", "+1e-383", "-0.9999999999999999");
4949

50+
test_add<decimal64_t>("+1e+2", "+1e-383", "100.0000000000001");
51+
test_add<decimal64_t>("+1e+1", "+1e-383", "10.00000000000001");
52+
test_add<decimal64_t>("+1e+0", "+1e-383", "1.000000000000001");
53+
test_add<decimal64_t>("+1e-1", "+1e-383", "0.1000000000000001");
54+
5055
return boost::report_errors();
5156
}

0 commit comments

Comments
 (0)