--TEST-- bcsub() function with number zero --EXTENSIONS-- bcmath --INI-- bcmath.scale=0 --FILE-- --EXPECT-- Number "0" (scale 0) 0 - 0 = 0 0 - 0.00 = 0 0 - -0 = 0 0 - -0.00 = 0 0 - 15 = -15 0 - -15 = 15 0 - 1 = -1 0 - -9 = 9 0 - 14.14 = -14 0 - -16.60 = 16 0 - 0.15 = 0 0 - -0.01 = 0 0 - 15151324141414.412312232141241 = -15151324141414 0 - -132132245132134.1515123765412 = 132132245132134 0 - 141241241241241248267654747412 = -141241241241241248267654747412 0 - -149143276547656984948124912 = 149143276547656984948124912 0 - 0.1322135476547459213732911312 = 0 0 - -0.123912932193769965476541321 = 0 Number "0.00" (scale 0) 0.00 - 0 = 0 0.00 - 0.00 = 0 0.00 - -0 = 0 0.00 - -0.00 = 0 0.00 - 15 = -15 0.00 - -15 = 15 0.00 - 1 = -1 0.00 - -9 = 9 0.00 - 14.14 = -14 0.00 - -16.60 = 16 0.00 - 0.15 = 0 0.00 - -0.01 = 0 0.00 - 15151324141414.412312232141241 = -15151324141414 0.00 - -132132245132134.1515123765412 = 132132245132134 0.00 - 141241241241241248267654747412 = -141241241241241248267654747412 0.00 - -149143276547656984948124912 = 149143276547656984948124912 0.00 - 0.1322135476547459213732911312 = 0 0.00 - -0.123912932193769965476541321 = 0 Number "-0" (scale 0) -0 - 0 = 0 -0 - 0.00 = 0 -0 - -0 = 0 -0 - -0.00 = 0 -0 - 15 = -15 -0 - -15 = 15 -0 - 1 = -1 -0 - -9 = 9 -0 - 14.14 = -14 -0 - -16.60 = 16 -0 - 0.15 = 0 -0 - -0.01 = 0 -0 - 15151324141414.412312232141241 = -15151324141414 -0 - -132132245132134.1515123765412 = 132132245132134 -0 - 141241241241241248267654747412 = -141241241241241248267654747412 -0 - -149143276547656984948124912 = 149143276547656984948124912 -0 - 0.1322135476547459213732911312 = 0 -0 - -0.123912932193769965476541321 = 0 Number "-0.00" (scale 0) -0.00 - 0 = 0 -0.00 - 0.00 = 0 -0.00 - -0 = 0 -0.00 - -0.00 = 0 -0.00 - 15 = -15 -0.00 - -15 = 15 -0.00 - 1 = -1 -0.00 - -9 = 9 -0.00 - 14.14 = -14 -0.00 - -16.60 = 16 -0.00 - 0.15 = 0 -0.00 - -0.01 = 0 -0.00 - 15151324141414.412312232141241 = -15151324141414 -0.00 - -132132245132134.1515123765412 = 132132245132134 -0.00 - 141241241241241248267654747412 = -141241241241241248267654747412 -0.00 - -149143276547656984948124912 = 149143276547656984948124912 -0.00 - 0.1322135476547459213732911312 = 0 -0.00 - -0.123912932193769965476541321 = 0 Number "0" (scale 10) 0 - 0 = 0.0000000000 0 - 0.00 = 0.0000000000 0 - -0 = 0.0000000000 0 - -0.00 = 0.0000000000 0 - 15 = -15.0000000000 0 - -15 = 15.0000000000 0 - 1 = -1.0000000000 0 - -9 = 9.0000000000 0 - 14.14 = -14.1400000000 0 - -16.60 = 16.6000000000 0 - 0.15 = -0.1500000000 0 - -0.01 = 0.0100000000 0 - 15151324141414.412312232141241 = -15151324141414.4123122321 0 - -132132245132134.1515123765412 = 132132245132134.1515123765 0 - 141241241241241248267654747412 = -141241241241241248267654747412.0000000000 0 - -149143276547656984948124912 = 149143276547656984948124912.0000000000 0 - 0.1322135476547459213732911312 = -0.1322135476 0 - -0.123912932193769965476541321 = 0.1239129321 Number "0.00" (scale 10) 0.00 - 0 = 0.0000000000 0.00 - 0.00 = 0.0000000000 0.00 - -0 = 0.0000000000 0.00 - -0.00 = 0.0000000000 0.00 - 15 = -15.0000000000 0.00 - -15 = 15.0000000000 0.00 - 1 = -1.0000000000 0.00 - -9 = 9.0000000000 0.00 - 14.14 = -14.1400000000 0.00 - -16.60 = 16.6000000000 0.00 - 0.15 = -0.1500000000 0.00 - -0.01 = 0.0100000000 0.00 - 15151324141414.412312232141241 = -15151324141414.4123122321 0.00 - -132132245132134.1515123765412 = 132132245132134.1515123765 0.00 - 141241241241241248267654747412 = -141241241241241248267654747412.0000000000 0.00 - -149143276547656984948124912 = 149143276547656984948124912.0000000000 0.00 - 0.1322135476547459213732911312 = -0.1322135476 0.00 - -0.123912932193769965476541321 = 0.1239129321 Number "-0" (scale 10) -0 - 0 = 0.0000000000 -0 - 0.00 = 0.0000000000 -0 - -0 = 0.0000000000 -0 - -0.00 = 0.0000000000 -0 - 15 = -15.0000000000 -0 - -15 = 15.0000000000 -0 - 1 = -1.0000000000 -0 - -9 = 9.0000000000 -0 - 14.14 = -14.1400000000 -0 - -16.60 = 16.6000000000 -0 - 0.15 = -0.1500000000 -0 - -0.01 = 0.0100000000 -0 - 15151324141414.412312232141241 = -15151324141414.4123122321 -0 - -132132245132134.1515123765412 = 132132245132134.1515123765 -0 - 141241241241241248267654747412 = -141241241241241248267654747412.0000000000 -0 - -149143276547656984948124912 = 149143276547656984948124912.0000000000 -0 - 0.1322135476547459213732911312 = -0.1322135476 -0 - -0.123912932193769965476541321 = 0.1239129321 Number "-0.00" (scale 10) -0.00 - 0 = 0.0000000000 -0.00 - 0.00 = 0.0000000000 -0.00 - -0 = 0.0000000000 -0.00 - -0.00 = 0.0000000000 -0.00 - 15 = -15.0000000000 -0.00 - -15 = 15.0000000000 -0.00 - 1 = -1.0000000000 -0.00 - -9 = 9.0000000000 -0.00 - 14.14 = -14.1400000000 -0.00 - -16.60 = 16.6000000000 -0.00 - 0.15 = -0.1500000000 -0.00 - -0.01 = 0.0100000000 -0.00 - 15151324141414.412312232141241 = -15151324141414.4123122321 -0.00 - -132132245132134.1515123765412 = 132132245132134.1515123765 -0.00 - 141241241241241248267654747412 = -141241241241241248267654747412.0000000000 -0.00 - -149143276547656984948124912 = 149143276547656984948124912.0000000000 -0.00 - 0.1322135476547459213732911312 = -0.1322135476 -0.00 - -0.123912932193769965476541321 = 0.1239129321