From b3351bd98e2c0ec8f99b2d92490f6d499736fb12 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Mon, 17 Sep 2012 08:44:35 +0000 Subject: [PATCH] Added regression check for latest mpi_add_abs() issue (cherry picked from commit 17a97909188bb529acf7fa2db2d582e7b489b89e) --- tests/suites/test_suite_mpi.data | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/suites/test_suite_mpi.data b/tests/suites/test_suite_mpi.data index 0a8c10332..c6469481f 100644 --- a/tests/suites/test_suite_mpi.data +++ b/tests/suites/test_suite_mpi.data @@ -198,6 +198,12 @@ mpi_add_abs_add_first:10:"123123":10:"123123":10:"246246" Test mpi_add_abs #3 (add to second value) mpi_add_abs_add_second:10:"123123":10:"123123":10:"246246" +Regression mpi_add_abs (add small to very large MPI with carry rollover) +mpi_add_abs:16:"FFFFFFFFFFFFFFFFFFFFFFFFFFFFF8":16:"08":16:"1000000000000000000000000000000" + +Regression mpi_add_abs (add small to very large MPI with carry rollover) +mpi_add_abs:16:"08":16:"FFFFFFFFFFFFFFFFFFFFFFFFFFFFF8":16:"1000000000000000000000000000000" + Base test mpi_add_mpi #1 mpi_add_mpi:10:"12345678":10:"642531":10:"12988209"