@@ -61,7 +61,7 @@ public static function parseComplex($complexNumber)
61
61
* If $ord is nonnumeric, BESSELI returns the #VALUE! error value.
62
62
* If $ord < 0, BESSELI returns the #NUM! error value.
63
63
*
64
- * @return float|string Result, or a string containing an error
64
+ * @return array| float|string Result, or a string containing an error
65
65
*/
66
66
public static function BESSELI ($ x , $ ord )
67
67
{
@@ -86,7 +86,7 @@ public static function BESSELI($x, $ord)
86
86
* If $ord is nonnumeric, BESSELJ returns the #VALUE! error value.
87
87
* If $ord < 0, BESSELJ returns the #NUM! error value.
88
88
*
89
- * @return float|string Result, or a string containing an error
89
+ * @return array| float|string Result, or a string containing an error
90
90
*/
91
91
public static function BESSELJ ($ x , $ ord )
92
92
{
@@ -112,7 +112,7 @@ public static function BESSELJ($x, $ord)
112
112
* If $ord is nonnumeric, BESSELK returns the #VALUE! error value.
113
113
* If $ord < 0, BESSELK returns the #NUM! error value.
114
114
*
115
- * @return float|string Result, or a string containing an error
115
+ * @return array| float|string Result, or a string containing an error
116
116
*/
117
117
public static function BESSELK ($ x , $ ord )
118
118
{
@@ -137,7 +137,7 @@ public static function BESSELK($x, $ord)
137
137
* If $ord is nonnumeric, BESSELY returns the #VALUE! error value.
138
138
* If $ord < 0, BESSELY returns the #NUM! error value.
139
139
*
140
- * @return float|string Result, or a string containing an error
140
+ * @return array| float|string Result, or a string containing an error
141
141
*/
142
142
public static function BESSELY ($ x , $ ord )
143
143
{
@@ -163,7 +163,7 @@ public static function BESSELY($x, $ord)
163
163
* If number is not a valid binary number, or if number contains more than
164
164
* 10 characters (10 bits), BIN2DEC returns the #NUM! error value.
165
165
*
166
- * @return string
166
+ * @return array| string
167
167
*/
168
168
public static function BINTODEC ($ x )
169
169
{
@@ -195,7 +195,7 @@ public static function BINTODEC($x)
195
195
* If places is nonnumeric, BIN2HEX returns the #VALUE! error value.
196
196
* If places is negative, BIN2HEX returns the #NUM! error value.
197
197
*
198
- * @return string
198
+ * @return array| string
199
199
*/
200
200
public static function BINTOHEX ($ x , $ places = null )
201
201
{
@@ -227,7 +227,7 @@ public static function BINTOHEX($x, $places = null)
227
227
* If places is nonnumeric, BIN2OCT returns the #VALUE! error value.
228
228
* If places is negative, BIN2OCT returns the #NUM! error value.
229
229
*
230
- * @return string
230
+ * @return array| string
231
231
*/
232
232
public static function BINTOOCT ($ x , $ places = null )
233
233
{
@@ -263,7 +263,7 @@ public static function BINTOOCT($x, $places = null)
263
263
* If places is nonnumeric, DEC2BIN returns the #VALUE! error value.
264
264
* If places is zero or negative, DEC2BIN returns the #NUM! error value.
265
265
*
266
- * @return string
266
+ * @return array| string
267
267
*/
268
268
public static function DECTOBIN ($ x , $ places = null )
269
269
{
@@ -299,7 +299,7 @@ public static function DECTOBIN($x, $places = null)
299
299
* If places is nonnumeric, DEC2HEX returns the #VALUE! error value.
300
300
* If places is zero or negative, DEC2HEX returns the #NUM! error value.
301
301
*
302
- * @return string
302
+ * @return array| string
303
303
*/
304
304
public static function DECTOHEX ($ x , $ places = null )
305
305
{
@@ -335,7 +335,7 @@ public static function DECTOHEX($x, $places = null)
335
335
* If places is nonnumeric, DEC2OCT returns the #VALUE! error value.
336
336
* If places is zero or negative, DEC2OCT returns the #NUM! error value.
337
337
*
338
- * @return string
338
+ * @return array| string
339
339
*/
340
340
public static function DECTOOCT ($ x , $ places = null )
341
341
{
@@ -371,7 +371,7 @@ public static function DECTOOCT($x, $places = null)
371
371
* If places is nonnumeric, HEX2BIN returns the #VALUE! error value.
372
372
* If places is negative, HEX2BIN returns the #NUM! error value.
373
373
*
374
- * @return string
374
+ * @return array| string
375
375
*/
376
376
public static function HEXTOBIN ($ x , $ places = null )
377
377
{
@@ -398,7 +398,7 @@ public static function HEXTOBIN($x, $places = null)
398
398
* If number is not a valid hexadecimal number, HEX2DEC returns the
399
399
* #NUM! error value.
400
400
*
401
- * @return string
401
+ * @return array| string
402
402
*/
403
403
public static function HEXTODEC ($ x )
404
404
{
@@ -438,7 +438,7 @@ public static function HEXTODEC($x)
438
438
* value.
439
439
* If places is negative, HEX2OCT returns the #NUM! error value.
440
440
*
441
- * @return string
441
+ * @return array| string
442
442
*/
443
443
public static function HEXTOOCT ($ x , $ places = null )
444
444
{
@@ -480,7 +480,7 @@ public static function HEXTOOCT($x, $places = null)
480
480
* If places is negative, OCT2BIN returns the #NUM! error
481
481
* value.
482
482
*
483
- * @return string
483
+ * @return array| string
484
484
*/
485
485
public static function OCTTOBIN ($ x , $ places = null )
486
486
{
@@ -507,7 +507,7 @@ public static function OCTTOBIN($x, $places = null)
507
507
* If number is not a valid octal number, OCT2DEC returns the
508
508
* #NUM! error value.
509
509
*
510
- * @return string
510
+ * @return array| string
511
511
*/
512
512
public static function OCTTODEC ($ x )
513
513
{
@@ -544,7 +544,7 @@ public static function OCTTODEC($x)
544
544
* If places is nonnumeric, OCT2HEX returns the #VALUE! error value.
545
545
* If places is negative, OCT2HEX returns the #NUM! error value.
546
546
*
547
- * @return string
547
+ * @return array| string
548
548
*/
549
549
public static function OCTTOHEX ($ x , $ places = null )
550
550
{
@@ -1123,7 +1123,7 @@ public static function IMPRODUCT(...$complexNumbers)
1123
1123
* @param float $a the first number
1124
1124
* @param float $b The second number. If omitted, b is assumed to be zero.
1125
1125
*
1126
- * @return int|string (string in the event of an error)
1126
+ * @return array| int|string (string in the event of an error)
1127
1127
*/
1128
1128
public static function DELTA ($ a , $ b = 0 )
1129
1129
{
@@ -1147,7 +1147,7 @@ public static function DELTA($a, $b = 0)
1147
1147
* @param float $number the value to test against step
1148
1148
* @param float $step The threshold value. If you omit a value for step, GESTEP uses zero.
1149
1149
*
1150
- * @return int|string (string in the event of an error)
1150
+ * @return array| int|string (string in the event of an error)
1151
1151
*/
1152
1152
public static function GESTEP ($ number , $ step = 0 )
1153
1153
{
@@ -1169,7 +1169,7 @@ public static function GESTEP($number, $step = 0)
1169
1169
* @param int $number1
1170
1170
* @param int $number2
1171
1171
*
1172
- * @return int|string
1172
+ * @return array| int|string
1173
1173
*/
1174
1174
public static function BITAND ($ number1 , $ number2 )
1175
1175
{
@@ -1191,7 +1191,7 @@ public static function BITAND($number1, $number2)
1191
1191
* @param int $number1
1192
1192
* @param int $number2
1193
1193
*
1194
- * @return int|string
1194
+ * @return array| int|string
1195
1195
*/
1196
1196
public static function BITOR ($ number1 , $ number2 )
1197
1197
{
@@ -1213,7 +1213,7 @@ public static function BITOR($number1, $number2)
1213
1213
* @param int $number1
1214
1214
* @param int $number2
1215
1215
*
1216
- * @return int|string
1216
+ * @return array| int|string
1217
1217
*/
1218
1218
public static function BITXOR ($ number1 , $ number2 )
1219
1219
{
@@ -1235,7 +1235,7 @@ public static function BITXOR($number1, $number2)
1235
1235
* @param int $number
1236
1236
* @param int $shiftAmount
1237
1237
*
1238
- * @return int|string
1238
+ * @return array|float| int|string
1239
1239
*/
1240
1240
public static function BITLSHIFT ($ number , $ shiftAmount )
1241
1241
{
@@ -1257,7 +1257,7 @@ public static function BITLSHIFT($number, $shiftAmount)
1257
1257
* @param int $number
1258
1258
* @param int $shiftAmount
1259
1259
*
1260
- * @return int|string
1260
+ * @return array|float| int|string
1261
1261
*/
1262
1262
public static function BITRSHIFT ($ number , $ shiftAmount )
1263
1263
{
@@ -1285,7 +1285,7 @@ public static function BITRSHIFT($number, $shiftAmount)
1285
1285
* @param float $upper upper bound for integrating ERF.
1286
1286
* If omitted, ERF integrates between zero and lower_limit
1287
1287
*
1288
- * @return float|string
1288
+ * @return array| float|string
1289
1289
*/
1290
1290
public static function ERF ($ lower , $ upper = null )
1291
1291
{
@@ -1306,7 +1306,7 @@ public static function ERF($lower, $upper = null)
1306
1306
*
1307
1307
* @param float $limit bound for integrating ERF
1308
1308
*
1309
- * @return float|string
1309
+ * @return array| float|string
1310
1310
*/
1311
1311
public static function ERFPRECISE ($ limit )
1312
1312
{
@@ -1332,7 +1332,7 @@ public static function ERFPRECISE($limit)
1332
1332
*
1333
1333
* @param float $x The lower bound for integrating ERFC
1334
1334
*
1335
- * @return float|string
1335
+ * @return array| float|string
1336
1336
*/
1337
1337
public static function ERFC ($ x )
1338
1338
{
@@ -1437,7 +1437,7 @@ public static function getBinaryConversionMultipliers()
1437
1437
* @param string $fromUOM the units for value
1438
1438
* @param string $toUOM the units for the result
1439
1439
*
1440
- * @return float|string
1440
+ * @return array| float|string
1441
1441
*/
1442
1442
public static function CONVERTUOM ($ value , $ fromUOM , $ toUOM )
1443
1443
{
0 commit comments