Skip to content

Commit fc4cf9f

Browse files
committed
Fixed test case fpow.phpt
1 parent d19abdf commit fc4cf9f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

ext/standard/tests/math/fpow.phpt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,10 @@ foreach ($numbers as $base) {
253253
0 ** -INF = INF
254254
0 ** NAN = NAN
255255
-0 ** 0 = 1
256-
-0 ** 1 = 0
257-
-0 ** -1 = INF
258-
-0 ** 1 = 0
259-
-0 ** -1 = INF
256+
-0 ** 1 = -0
257+
-0 ** -1 = -INF
258+
-0 ** 1 = -0
259+
-0 ** -1 = -INF
260260
-0 ** 2 = 0
261261
-0 ** -2 = INF
262262
-0 ** 2.1 = 0
@@ -265,10 +265,10 @@ foreach ($numbers as $base) {
265265
-0 ** -0.1 = INF
266266
-0 ** 0 = 1
267267
-0 ** -0 = 1
268-
-0 ** 10 = -0
269-
-0 ** -10 = -INF
270-
-0 ** INF = -0
271-
-0 ** -INF = -INF
268+
-0 ** 10 = 0
269+
-0 ** -10 = INF
270+
-0 ** INF = 0
271+
-0 ** -INF = INF
272272
-0 ** NAN = NAN
273273
10 ** 0 = 1
274274
10 ** 1 = 10

0 commit comments

Comments
 (0)