File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -65,5 +65,17 @@ int main()
6565 test_sub<decimal_fast32_t >(" 1e+2" , " 1e-20" , " 99.99999" );
6666 test_sub<decimal_fast32_t >(" 1e+1" , " 1e-20" , " 9.999999" );
6767
68+ test_add<decimal128_t >(" 1e+2" , " -1e-383" , " 99.99999999999999999999999999999999" );
69+ test_add<decimal128_t >(" 1e+1" , " -1e-383" , " 9.999999999999999999999999999999999" );
70+
71+ test_add<decimal_fast128_t >(" 1e+2" , " -1e-383" , " 99.99999999999999999999999999999999" );
72+ test_add<decimal_fast128_t >(" 1e+1" , " -1e-383" , " 9.999999999999999999999999999999999" );
73+
74+ test_sub<decimal128_t >(" 1e+2" , " 1e-383" , " 99.99999999999999999999999999999999" );
75+ test_sub<decimal128_t >(" 1e+1" , " 1e-383" , " 9.999999999999999999999999999999999" );
76+
77+ test_sub<decimal_fast128_t >(" 1e+2" , " 1e-383" , " 99.99999999999999999999999999999999" );
78+ test_sub<decimal_fast128_t >(" 1e+1" , " 1e-383" , " 9.999999999999999999999999999999999" );
79+
6880 return boost::report_errors ();
6981}
You can’t perform that action at this time.
0 commit comments