Skip to content

Commit bac1e65

Browse files
committed
Change the exponent for float string in tests
1 parent 0f6cb1f commit bac1e65

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

ext/standard/tests/math/pow_variation1.phpt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ $inputs = array(
6262
/*20*/ "abcxyz",
6363
'abcxyz',
6464
$heredoc,
65-
'10.5',
65+
'5.5',
6666
'2',
6767

6868
// object data
@@ -161,13 +161,19 @@ Unsupported operand types: string ** int
161161
Unsupported operand types: string ** int
162162

163163
-- Iteration 23 --
164-
Unsupported operand types: classA ** int
164+
float(15532029.564086)
165165

166166
-- Iteration 24 --
167-
int(0)
167+
float(412.09)
168168

169169
-- Iteration 25 --
170-
int(0)
170+
Unsupported operand types: float ** classA
171171

172172
-- Iteration 26 --
173-
Unsupported operand types: resource ** int
173+
float(1)
174+
175+
-- Iteration 27 --
176+
float(1)
177+
178+
-- Iteration 28 --
179+
Unsupported operand types: float ** resource

ext/standard/tests/math/pow_variation2.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $inputs = array(
5858
/*20*/ "abcxyz",
5959
'abcxyz',
6060
$heredoc,
61-
'10.5',
61+
'5.5',
6262
'2',
6363

6464
// object data
@@ -157,7 +157,7 @@ Unsupported operand types: float ** string
157157
Unsupported operand types: float ** string
158158

159159
-- Iteration 23 --
160-
float(53543702391195)
160+
float(15532029.564086)
161161

162162
-- Iteration 24 --
163163
float(412.09)

0 commit comments

Comments
 (0)