From 6af59244f2f1e97ac625aba55fe601837e027d7f Mon Sep 17 00:00:00 2001 From: peter279k Date: Wed, 29 Dec 2021 17:40:20 +0800 Subject: [PATCH] For PR #4110 to diff for master branch --- ext/bcmath/tests/bcadd.phpt | 4 ++++ ext/bcmath/tests/bcadd_variation001.phpt | 8 +++++++- ext/bcmath/tests/bccomp_variation002.phpt | 8 +++++++- 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/ext/bcmath/tests/bcadd.phpt b/ext/bcmath/tests/bcadd.phpt index b24ce8dbd7927..fa4be8acbe1ae 100644 --- a/ext/bcmath/tests/bcadd.phpt +++ b/ext/bcmath/tests/bcadd.phpt @@ -8,9 +8,13 @@ bcmath.scale=0 --EXPECT-- 3 4.0000 +-6.0000 +-4.0000 8728932003911564969352217864684.00 diff --git a/ext/bcmath/tests/bcadd_variation001.phpt b/ext/bcmath/tests/bcadd_variation001.phpt index 447958b4a2f0f..d6bd89b52231d 100644 --- a/ext/bcmath/tests/bcadd_variation001.phpt +++ b/ext/bcmath/tests/bcadd_variation001.phpt @@ -7,10 +7,16 @@ bcmath.scale=5 --FILE-- --EXPECT-- 6.50 +6.50 +-5.1 -5.1 3.03000 +-11.57000 diff --git a/ext/bcmath/tests/bccomp_variation002.phpt b/ext/bcmath/tests/bccomp_variation002.phpt index ae7ba7fafe819..eb9655083ca3f 100644 --- a/ext/bcmath/tests/bccomp_variation002.phpt +++ b/ext/bcmath/tests/bccomp_variation002.phpt @@ -8,9 +8,15 @@ bcmath.scale=0 --EXPECT-- 0 -1 1 +-1 +1 +1