Updates to 3rd party libraries
Add Dockerfile and specific docker-php.ini
This commit is contained in:
279
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BESSELI.php
vendored
Normal file
279
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BESSELI.php
vendored
Normal file
@ -0,0 +1,279 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#NUM!',
|
||||
1.5,
|
||||
-1,
|
||||
],
|
||||
[
|
||||
2.249E-5,
|
||||
-1,
|
||||
6,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0,
|
||||
3,
|
||||
],
|
||||
[
|
||||
4.8807925900000004,
|
||||
3,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0.00027146000000000001,
|
||||
1,
|
||||
5,
|
||||
],
|
||||
[
|
||||
0.98166642999999998,
|
||||
1.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.33783461999999997,
|
||||
-1.5,
|
||||
2.5,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
-1.5,
|
||||
14.99,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
1,
|
||||
30,
|
||||
],
|
||||
[
|
||||
2.51671625,
|
||||
2.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
2.51671625,
|
||||
2.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
-2.51671625,
|
||||
-2.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
6.20583492,
|
||||
3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.0073673699999999998,
|
||||
0.69999999999999996,
|
||||
3,
|
||||
],
|
||||
[
|
||||
3.8320120499999999,
|
||||
3.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
1.5,
|
||||
'XYZ',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'ABC',
|
||||
3,
|
||||
],
|
||||
[
|
||||
-1030.9147225199999,
|
||||
-9,
|
||||
1,
|
||||
],
|
||||
[
|
||||
-6.20583492,
|
||||
-3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
-0.39288151999999998,
|
||||
-0.73499999999999999,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.01750268,
|
||||
0.035000000000000003,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.56515910000000003,
|
||||
1,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.98166642999999998,
|
||||
1.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
2.51671625,
|
||||
2.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
6.20583492,
|
||||
3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
864.49619395000002,
|
||||
-9,
|
||||
2,
|
||||
],
|
||||
[
|
||||
3.8320120499999999,
|
||||
-3.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.070619940000000006,
|
||||
-0.73499999999999999,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.00015313999999999999,
|
||||
0.035000000000000003,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.10825973,
|
||||
0.90000000000000002,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.13574766999999999,
|
||||
1,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.60327242999999997,
|
||||
1.8999999999999999,
|
||||
2,
|
||||
],
|
||||
[
|
||||
1.2764661500000001,
|
||||
2.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
3.8320120499999999,
|
||||
3.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
6.4221893799999998,
|
||||
4,
|
||||
2,
|
||||
],
|
||||
[
|
||||
8.8999999999999995E-7,
|
||||
0.035000000000000003,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.0073673699999999998,
|
||||
0.69999999999999996,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.0154285,
|
||||
0.89000000000000001,
|
||||
3,
|
||||
],
|
||||
[
|
||||
3.3372757800000001,
|
||||
4,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.50472435999999998,
|
||||
4,
|
||||
5,
|
||||
],
|
||||
[
|
||||
2.8410000000000001E-5,
|
||||
1.5,
|
||||
7,
|
||||
],
|
||||
[
|
||||
0.00013237000000000001,
|
||||
3,
|
||||
9,
|
||||
],
|
||||
[
|
||||
7.3782034300000001,
|
||||
-3.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1.6467231899999999,
|
||||
-1.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1.0,
|
||||
0,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1.26606588,
|
||||
1,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1.6467231899999999,
|
||||
1.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
3.2898391400000002,
|
||||
2.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
7.3782034300000001,
|
||||
3.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-3.5,
|
||||
-1,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
1,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
1,
|
||||
true,
|
||||
],
|
||||
[
|
||||
104777847.71856035,
|
||||
21,
|
||||
2,
|
||||
],
|
||||
];
|
169
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BESSELJ.php
vendored
Normal file
169
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BESSELJ.php
vendored
Normal file
@ -0,0 +1,169 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#NUM!',
|
||||
1.5,
|
||||
-1,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.44005059000000002,
|
||||
1,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.00024976000000000002,
|
||||
1,
|
||||
5,
|
||||
],
|
||||
[
|
||||
0.32992572999999997,
|
||||
1.8999999999999999,
|
||||
2,
|
||||
],
|
||||
[
|
||||
-0.49709409999999998,
|
||||
-2.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0.13737753,
|
||||
3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.013974,
|
||||
0.89000000000000001,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.45862918000000003,
|
||||
3.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
1.5,
|
||||
'XYZ',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'ABC',
|
||||
3,
|
||||
],
|
||||
[
|
||||
-0.13737753,
|
||||
-3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
-0.34323577999999999,
|
||||
-0.73499999999999999,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.01749732,
|
||||
0.035000000000000003,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.55793651,
|
||||
1.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.49709409999999998,
|
||||
2.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.13737753,
|
||||
3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.14484733999999999,
|
||||
-9,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.064538960000000006,
|
||||
-0.73499999999999999,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.094586299999999998,
|
||||
0.90000000000000002,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.32992572999999997,
|
||||
1.8999999999999999,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.00015311,
|
||||
0.035000000000000003,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.45862918000000003,
|
||||
3.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.36412814999999998,
|
||||
4,
|
||||
2,
|
||||
],
|
||||
[
|
||||
8.8999999999999995E-7,
|
||||
0.035000000000000003,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.0069296499999999999,
|
||||
0.69999999999999996,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.013974,
|
||||
0.89000000000000001,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.43017147,
|
||||
4,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.13208665999999999,
|
||||
4,
|
||||
5,
|
||||
],
|
||||
[
|
||||
2.4680000000000001E-5,
|
||||
1.5,
|
||||
7,
|
||||
],
|
||||
[
|
||||
8.4400000000000005E-5,
|
||||
3,
|
||||
9,
|
||||
],
|
||||
];
|
194
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BESSELK.php
vendored
Normal file
194
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BESSELK.php
vendored
Normal file
@ -0,0 +1,194 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#NUM!',
|
||||
1.5,
|
||||
-1,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
0,
|
||||
2,
|
||||
],
|
||||
[
|
||||
7990.0124327800004,
|
||||
0.10000000000000001,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.42102444,
|
||||
1,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0.21380557,
|
||||
1.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-1.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.27738780000000002,
|
||||
1.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.58365597000000002,
|
||||
1.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.094982449999999996,
|
||||
2.2999999999999998,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0.073890819999999996,
|
||||
2.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.022239390000000001,
|
||||
3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.059161819999999997,
|
||||
3.5,
|
||||
3,
|
||||
],
|
||||
[
|
||||
397.95880105999998,
|
||||
3,
|
||||
9,
|
||||
],
|
||||
[
|
||||
0.032307120000000002,
|
||||
3.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
1.5,
|
||||
'XYZ',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'ABC',
|
||||
3,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-0.73499999999999999,
|
||||
1,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
0,
|
||||
1,
|
||||
],
|
||||
[
|
||||
28.50197,
|
||||
0.035000000000000003,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.27738780000000002,
|
||||
1.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.073890819999999996,
|
||||
2.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.022239390000000001,
|
||||
3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-9,
|
||||
2,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-0.73499999999999999,
|
||||
2,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
0,
|
||||
2,
|
||||
],
|
||||
[
|
||||
2.0790271499999999,
|
||||
0.90000000000000002,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.29690929999999999,
|
||||
1.8999999999999999,
|
||||
2,
|
||||
],
|
||||
[
|
||||
1632.1537072900001,
|
||||
0.035000000000000003,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.032307120000000002,
|
||||
3.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.017401429999999999,
|
||||
4,
|
||||
2,
|
||||
],
|
||||
[
|
||||
186560.35423214,
|
||||
0.035000000000000003,
|
||||
3,
|
||||
],
|
||||
[
|
||||
21.972169050000002,
|
||||
0.69999999999999996,
|
||||
3,
|
||||
],
|
||||
[
|
||||
10.31747315,
|
||||
0.89000000000000001,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.029884919999999999,
|
||||
4,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.15434255,
|
||||
4,
|
||||
5,
|
||||
],
|
||||
[
|
||||
2457.7004395499998,
|
||||
1.5,
|
||||
7,
|
||||
],
|
||||
[
|
||||
397.95880105999998,
|
||||
3,
|
||||
9,
|
||||
],
|
||||
];
|
119
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BESSELY.php
vendored
Normal file
119
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BESSELY.php
vendored
Normal file
@ -0,0 +1,119 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#NUM!',
|
||||
1.5,
|
||||
-1,
|
||||
],
|
||||
[
|
||||
0.49807035999999999,
|
||||
2.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0.14591814,
|
||||
2.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
-0.38133584999999998,
|
||||
2.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.41018842,
|
||||
3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
-0.35833535,
|
||||
3.5,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.045371439999999999,
|
||||
3.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
-0.17121431000000001,
|
||||
12.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
1.5,
|
||||
'XYZ',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'ABC',
|
||||
3,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-0.73499999999999999,
|
||||
1,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
0,
|
||||
1,
|
||||
],
|
||||
[
|
||||
-0.41230863000000001,
|
||||
1.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.14591814,
|
||||
2.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.41018842,
|
||||
3.5,
|
||||
1,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-9,
|
||||
2,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
-0.73499999999999999,
|
||||
2,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
0,
|
||||
2,
|
||||
],
|
||||
[
|
||||
-1.9459096,
|
||||
0.90000000000000002,
|
||||
2,
|
||||
],
|
||||
[
|
||||
-0.66987867999999995,
|
||||
1.8999999999999999,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.045371439999999999,
|
||||
3.5,
|
||||
2,
|
||||
],
|
||||
[
|
||||
-0.79585141999999998,
|
||||
4,
|
||||
5,
|
||||
],
|
||||
];
|
49
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BIN2DEC.php
vendored
Normal file
49
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BIN2DEC.php
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'178',
|
||||
'10110010',
|
||||
],
|
||||
[
|
||||
'100',
|
||||
'1100100',
|
||||
],
|
||||
// Too large
|
||||
[
|
||||
'#NUM!',
|
||||
'111001010101',
|
||||
],
|
||||
[
|
||||
'5',
|
||||
'101',
|
||||
],
|
||||
[
|
||||
'2',
|
||||
'10',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
// Invalid binary number
|
||||
[
|
||||
'#NUM!',
|
||||
'21',
|
||||
],
|
||||
// Non string
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'-107',
|
||||
'1110010101',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'-1',
|
||||
'1111111111',
|
||||
],
|
||||
];
|
73
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BIN2HEX.php
vendored
Normal file
73
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BIN2HEX.php
vendored
Normal file
@ -0,0 +1,73 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'B2',
|
||||
'10110010',
|
||||
],
|
||||
// Too large
|
||||
[
|
||||
'#NUM!',
|
||||
'111001010101',
|
||||
],
|
||||
// Leading places
|
||||
[
|
||||
'00FB',
|
||||
'11111011',
|
||||
4,
|
||||
],
|
||||
// Leading places as a float
|
||||
[
|
||||
'0FB',
|
||||
'11111011',
|
||||
3.75,
|
||||
],
|
||||
// Leading places negative
|
||||
[
|
||||
'#NUM!',
|
||||
'11111011',
|
||||
-1,
|
||||
],
|
||||
// Leading places non-numeric
|
||||
[
|
||||
'#VALUE!',
|
||||
'11111011',
|
||||
'ABC',
|
||||
],
|
||||
[
|
||||
'E',
|
||||
'1110',
|
||||
],
|
||||
[
|
||||
'5',
|
||||
'101',
|
||||
],
|
||||
[
|
||||
'2',
|
||||
'10',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
// Invalid binary number
|
||||
[
|
||||
'#NUM!',
|
||||
'21',
|
||||
],
|
||||
// Non string
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'FFFFFFFF95',
|
||||
'1110010101',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'FFFFFFFFFF',
|
||||
'1111111111',
|
||||
],
|
||||
];
|
77
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BIN2OCT.php
vendored
Normal file
77
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BIN2OCT.php
vendored
Normal file
@ -0,0 +1,77 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'144',
|
||||
'1100100',
|
||||
],
|
||||
[
|
||||
'262',
|
||||
'10110010',
|
||||
],
|
||||
// Too large
|
||||
[
|
||||
'#NUM!',
|
||||
'111001010101',
|
||||
],
|
||||
// Leading places
|
||||
[
|
||||
'011',
|
||||
'1001',
|
||||
3,
|
||||
],
|
||||
// Leading places as a float
|
||||
[
|
||||
'0011',
|
||||
'1001',
|
||||
4.75,
|
||||
],
|
||||
// Leading places negative
|
||||
[
|
||||
'#NUM!',
|
||||
'1001',
|
||||
-1,
|
||||
],
|
||||
// Leading places non-numeric
|
||||
[
|
||||
'#VALUE!',
|
||||
'1001',
|
||||
'ABC',
|
||||
],
|
||||
[
|
||||
'2',
|
||||
'00000010',
|
||||
],
|
||||
[
|
||||
'5',
|
||||
'00000101',
|
||||
],
|
||||
[
|
||||
'15',
|
||||
'00001101',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
// Invalid binary number
|
||||
[
|
||||
'#NUM!',
|
||||
'21',
|
||||
],
|
||||
// Non string
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'7777777625',
|
||||
'1110010101',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'7777777777',
|
||||
'1111111111',
|
||||
],
|
||||
];
|
20
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITAND.php
vendored
Normal file
20
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITAND.php
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
0b101,
|
||||
[0b10101, 0b100111],
|
||||
],
|
||||
[
|
||||
0b10001000,
|
||||
[0b11001000, 0b10111000],
|
||||
],
|
||||
[
|
||||
0b00001000,
|
||||
[0b01001000, 0b10111000],
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
['ABC', 'DEF'],
|
||||
],
|
||||
];
|
20
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITLSHIFT.php
vendored
Normal file
20
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITLSHIFT.php
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
0b1100000,
|
||||
[0b11, 5],
|
||||
],
|
||||
[
|
||||
0b10100,
|
||||
[0b101, 2],
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
['ABC', 5],
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
[0b01, 48],
|
||||
],
|
||||
];
|
24
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITOR.php
vendored
Normal file
24
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITOR.php
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
0b110111,
|
||||
[0b10101, 0b100111],
|
||||
],
|
||||
[
|
||||
0b11111000,
|
||||
[0b11001000, 0b10111000],
|
||||
],
|
||||
[
|
||||
0b11111000,
|
||||
[0b01001000, 0b10111000],
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
[12.34, 56.78],
|
||||
],
|
||||
[
|
||||
60,
|
||||
[12.00, 56.00],
|
||||
],
|
||||
];
|
16
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITRSHIFT.php
vendored
Normal file
16
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITRSHIFT.php
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
0b101,
|
||||
[0b10100, 2],
|
||||
],
|
||||
[
|
||||
0b11,
|
||||
[0b110100, 4],
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
['ABC', 5],
|
||||
],
|
||||
];
|
24
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITXOR.php
vendored
Normal file
24
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/BITXOR.php
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
0b110010,
|
||||
[0b10101, 0b100111],
|
||||
],
|
||||
[
|
||||
0b01110000,
|
||||
[0b11001000, 0b10111000],
|
||||
],
|
||||
[
|
||||
0b11011000,
|
||||
[0b01110010, 0b10101010],
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
['ABC', 'DEF'],
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
[12.00, 2.82E14],
|
||||
],
|
||||
];
|
3085
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/COMPLEX.php
vendored
Normal file
3085
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/COMPLEX.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
148
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/CONVERTUOM.php
vendored
Normal file
148
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/CONVERTUOM.php
vendored
Normal file
@ -0,0 +1,148 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
0.45359230974880999,
|
||||
1.0,
|
||||
'lbm',
|
||||
'kg',
|
||||
],
|
||||
[
|
||||
123.45,
|
||||
123.45,
|
||||
'kg',
|
||||
'kg',
|
||||
],
|
||||
[
|
||||
20,
|
||||
68,
|
||||
'F',
|
||||
'C',
|
||||
],
|
||||
[
|
||||
68,
|
||||
20,
|
||||
'C',
|
||||
'F',
|
||||
],
|
||||
[
|
||||
293.14999999999998,
|
||||
68,
|
||||
'F',
|
||||
'K',
|
||||
],
|
||||
[
|
||||
68,
|
||||
293.14999999999998,
|
||||
'K',
|
||||
'F',
|
||||
],
|
||||
[
|
||||
295.14999999999998,
|
||||
22,
|
||||
'C',
|
||||
'K',
|
||||
],
|
||||
[
|
||||
22.5,
|
||||
295.64999999999998,
|
||||
'K',
|
||||
'C',
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
2.5,
|
||||
'ft',
|
||||
'sec',
|
||||
],
|
||||
[
|
||||
12.345000000000001,
|
||||
12345,
|
||||
'm',
|
||||
'km',
|
||||
],
|
||||
[
|
||||
12345,
|
||||
12.345000000000001,
|
||||
'km',
|
||||
'm',
|
||||
],
|
||||
[
|
||||
0.62137119223732995,
|
||||
1,
|
||||
'km',
|
||||
'mi',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'three',
|
||||
'ft',
|
||||
'yds',
|
||||
],
|
||||
[
|
||||
123.45,
|
||||
123.45,
|
||||
'K',
|
||||
'kel',
|
||||
],
|
||||
[
|
||||
123.45,
|
||||
123.45,
|
||||
'C',
|
||||
'cel',
|
||||
],
|
||||
[
|
||||
123.45,
|
||||
123.45,
|
||||
'F',
|
||||
'fah',
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
1,
|
||||
'ft',
|
||||
'day',
|
||||
],
|
||||
[
|
||||
123.45,
|
||||
123.45,
|
||||
'm',
|
||||
'm',
|
||||
],
|
||||
[
|
||||
234.56,
|
||||
234.56,
|
||||
'km',
|
||||
'km',
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
234.56,
|
||||
'kpt',
|
||||
'lt',
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
234.56,
|
||||
'sm',
|
||||
'm',
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
234.56,
|
||||
'lt',
|
||||
'kpt',
|
||||
],
|
||||
[
|
||||
'#N/A',
|
||||
234.56,
|
||||
'm',
|
||||
'sm',
|
||||
],
|
||||
[
|
||||
12345000,
|
||||
12.345000000000001,
|
||||
'km',
|
||||
'mm',
|
||||
],
|
||||
];
|
91
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/DEC2BIN.php
vendored
Normal file
91
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/DEC2BIN.php
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'101100101',
|
||||
357,
|
||||
],
|
||||
// Too large
|
||||
[
|
||||
'#NUM!',
|
||||
512,
|
||||
],
|
||||
// Too small
|
||||
[
|
||||
'#NUM!',
|
||||
-513,
|
||||
],
|
||||
[
|
||||
'1001',
|
||||
9,
|
||||
4,
|
||||
],
|
||||
[
|
||||
'00001001',
|
||||
9,
|
||||
8,
|
||||
],
|
||||
// Leading places as a float
|
||||
[
|
||||
'001001',
|
||||
9,
|
||||
6.75,
|
||||
],
|
||||
// Leading places negative
|
||||
[
|
||||
'#NUM!',
|
||||
9,
|
||||
-1,
|
||||
],
|
||||
// Leading places non-numeric
|
||||
[
|
||||
'#VALUE!',
|
||||
9,
|
||||
'ABC',
|
||||
],
|
||||
[
|
||||
'11110110',
|
||||
246,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
12345,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
123456789,
|
||||
],
|
||||
[
|
||||
'1111011',
|
||||
123.45,
|
||||
],
|
||||
[
|
||||
'0',
|
||||
0,
|
||||
],
|
||||
// Invalid decimal
|
||||
[
|
||||
'#VALUE!',
|
||||
'3579A',
|
||||
],
|
||||
// Non string
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'1110011100',
|
||||
-100,
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'1110010101',
|
||||
-107,
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'1000000000',
|
||||
-512,
|
||||
],
|
||||
];
|
75
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/DEC2HEX.php
vendored
Normal file
75
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/DEC2HEX.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'165',
|
||||
'357',
|
||||
],
|
||||
[
|
||||
'54D',
|
||||
'1357',
|
||||
],
|
||||
[
|
||||
'F6',
|
||||
'246',
|
||||
],
|
||||
[
|
||||
'3039',
|
||||
'12345',
|
||||
],
|
||||
[
|
||||
'75BCD15',
|
||||
'123456789',
|
||||
],
|
||||
[
|
||||
'0064',
|
||||
'100',
|
||||
4,
|
||||
],
|
||||
// Leading places as a float
|
||||
[
|
||||
'00064',
|
||||
'100',
|
||||
5.75,
|
||||
],
|
||||
// Leading places negative
|
||||
[
|
||||
'#NUM!',
|
||||
'100',
|
||||
-1,
|
||||
],
|
||||
// Leading places non-numeric
|
||||
[
|
||||
'#VALUE!',
|
||||
'100',
|
||||
'ABC',
|
||||
],
|
||||
[
|
||||
'7B',
|
||||
'123.45',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
// Invalid decimal
|
||||
[
|
||||
'#VALUE!',
|
||||
'3579A',
|
||||
],
|
||||
// Non string
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'FFFFFFFFCA',
|
||||
'-54',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'FFFFFFFF95',
|
||||
'-107',
|
||||
],
|
||||
];
|
57
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/DEC2OCT.php
vendored
Normal file
57
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/DEC2OCT.php
vendored
Normal file
@ -0,0 +1,57 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'545',
|
||||
'357',
|
||||
],
|
||||
[
|
||||
'2515',
|
||||
'1357',
|
||||
],
|
||||
[
|
||||
'366',
|
||||
'246',
|
||||
],
|
||||
[
|
||||
'30071',
|
||||
'12345',
|
||||
],
|
||||
[
|
||||
'726746425',
|
||||
'123456789',
|
||||
],
|
||||
[
|
||||
'173',
|
||||
'123.45',
|
||||
],
|
||||
[
|
||||
'072',
|
||||
'58',
|
||||
3,
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
// Invalid decimal
|
||||
[
|
||||
'#VALUE!',
|
||||
'3579A',
|
||||
],
|
||||
// Non string
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'7777777634',
|
||||
'-100',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'7777777625',
|
||||
'-107',
|
||||
],
|
||||
];
|
129
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/DELTA.php
vendored
Normal file
129
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/DELTA.php
vendored
Normal file
@ -0,0 +1,129 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
1,
|
||||
-1.5,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.75,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
1.5,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
-0.75,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.75,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
1.5,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.75,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0,
|
||||
1.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
0.75,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
1.5,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.75,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
1.5,
|
||||
1.5,
|
||||
],
|
||||
];
|
581
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/ERF.php
vendored
Normal file
581
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/ERF.php
vendored
Normal file
@ -0,0 +1,581 @@
|
||||
<?php
|
||||
|
||||
// lower, bound, upper bound, Result
|
||||
|
||||
return [
|
||||
[
|
||||
0.0,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0.0112834155558496,
|
||||
0.01,
|
||||
],
|
||||
[
|
||||
0.056371977797016602,
|
||||
0.050000000000000003,
|
||||
],
|
||||
[
|
||||
0.11246291601828499,
|
||||
0.10000000000000001,
|
||||
],
|
||||
[
|
||||
0.140316204801334,
|
||||
0.125,
|
||||
],
|
||||
[
|
||||
0.167995971427363,
|
||||
0.14999999999999999,
|
||||
],
|
||||
[
|
||||
0.222702589210478,
|
||||
0.20000000000000001,
|
||||
],
|
||||
[
|
||||
0.27632639016823701,
|
||||
0.25,
|
||||
],
|
||||
[
|
||||
0.328626759459127,
|
||||
0.29999999999999999,
|
||||
],
|
||||
[
|
||||
0.37938205356230997,
|
||||
0.34999999999999998,
|
||||
],
|
||||
[
|
||||
0.42839235504666801,
|
||||
0.40000000000000002,
|
||||
],
|
||||
[
|
||||
0.475481719786924,
|
||||
0.45000000000000001,
|
||||
],
|
||||
[
|
||||
0.52049987781304696,
|
||||
0.5,
|
||||
],
|
||||
[
|
||||
0.60385609084792602,
|
||||
0.59999999999999998,
|
||||
],
|
||||
[
|
||||
0.67780119383741799,
|
||||
0.69999999999999996,
|
||||
],
|
||||
[
|
||||
0.74210096470766096,
|
||||
0.80000000000000004,
|
||||
],
|
||||
[
|
||||
0.79690821242283205,
|
||||
0.90000000000000002,
|
||||
],
|
||||
[
|
||||
0.84270079294971501,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.88020506957408196,
|
||||
1.1000000000000001,
|
||||
],
|
||||
[
|
||||
0.910313978229635,
|
||||
1.2,
|
||||
],
|
||||
[
|
||||
0.93400794494065198,
|
||||
1.3,
|
||||
],
|
||||
[
|
||||
0.95228511976264896,
|
||||
1.3999999999999999,
|
||||
],
|
||||
[
|
||||
0.96610514647531098,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0.98667167121918198,
|
||||
1.75,
|
||||
],
|
||||
[
|
||||
0.99532226501895305,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.99959304798255499,
|
||||
2.5,
|
||||
],
|
||||
[
|
||||
0.99997790950300103,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.99999925690162805,
|
||||
3.5,
|
||||
],
|
||||
[
|
||||
0.99999998458274197,
|
||||
4,
|
||||
],
|
||||
[
|
||||
0.99999999980338405,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0.99999999999846301,
|
||||
5,
|
||||
],
|
||||
[
|
||||
0.99999999999999301,
|
||||
5.5,
|
||||
],
|
||||
[
|
||||
1.0,
|
||||
6,
|
||||
],
|
||||
[
|
||||
1.0,
|
||||
32,
|
||||
],
|
||||
[
|
||||
-0.11246291601828499,
|
||||
-0.10000000000000001,
|
||||
],
|
||||
[
|
||||
-0.84270079294971501,
|
||||
-1,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
false,
|
||||
],
|
||||
[
|
||||
0.99532226501895305,
|
||||
'2',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'TWO',
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
-1.5,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
-0.25494951282179601,
|
||||
-0.75,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
-0.96610514647531098,
|
||||
0,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
-1.67726078012883,
|
||||
0.75,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
-1.93221029295062,
|
||||
1.5,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
-1.96464242988863,
|
||||
2.25,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
-1.96608305597831,
|
||||
3,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
-1.96610503274805,
|
||||
3.75,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
-1.96610514627869,
|
||||
4.5,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
0.25494951282179601,
|
||||
-1.5,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
-0.75,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
-0.71115563365351497,
|
||||
0,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
-1.4223112673070299,
|
||||
0.75,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
-1.67726078012883,
|
||||
1.5,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
-1.70969291706683,
|
||||
2.25,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
-1.71113354315652,
|
||||
3,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
-1.71115551992626,
|
||||
3.75,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
-1.7111556334569,
|
||||
4.5,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
0.96610514647531098,
|
||||
-1.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0.71115563365351497,
|
||||
-0.75,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0,
|
||||
0,
|
||||
],
|
||||
[
|
||||
-0.71115563365351497,
|
||||
0.75,
|
||||
0,
|
||||
],
|
||||
[
|
||||
-0.96610514647531098,
|
||||
1.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
-0.99853728341331904,
|
||||
2.25,
|
||||
0,
|
||||
],
|
||||
[
|
||||
-0.99997790950300103,
|
||||
3,
|
||||
0,
|
||||
],
|
||||
[
|
||||
-0.99999988627274305,
|
||||
3.75,
|
||||
0,
|
||||
],
|
||||
[
|
||||
-0.99999999980338405,
|
||||
4.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1.67726078012883,
|
||||
-1.5,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
1.4223112673070299,
|
||||
-0.75,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
0.71115563365351497,
|
||||
0,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
0.75,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
-0.25494951282179601,
|
||||
1.5,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
-0.28738164975980401,
|
||||
2.25,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
-0.288822275849486,
|
||||
3,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
-0.28884425261922803,
|
||||
3.75,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
-0.28884436614986903,
|
||||
4.5,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
1.93221029295062,
|
||||
-1.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
1.67726078012883,
|
||||
-0.75,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0.96610514647531098,
|
||||
0,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0.25494951282179601,
|
||||
0.75,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
1.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
-0.032432136938008102,
|
||||
2.25,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
-0.0338727630276906,
|
||||
3,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
-0.033894739797432599,
|
||||
3.75,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
-0.033894853328073203,
|
||||
4.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
1.96464242988863,
|
||||
-1.5,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
1.70969291706683,
|
||||
-0.75,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
0.99853728341331904,
|
||||
0,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
0.28738164975980401,
|
||||
0.75,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
0.032432136938008102,
|
||||
1.5,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
2.25,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
-0.0014406260896824999,
|
||||
3,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
-0.0014626028594246,
|
||||
3.75,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
-0.0014627163900651,
|
||||
4.5,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
1.96608305597831,
|
||||
-1.5,
|
||||
3,
|
||||
],
|
||||
[
|
||||
1.71113354315652,
|
||||
-0.75,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.99997790950300103,
|
||||
0,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.288822275849486,
|
||||
0.75,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.0338727630276906,
|
||||
1.5,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.0014406260896824999,
|
||||
2.25,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
3,
|
||||
3,
|
||||
],
|
||||
[
|
||||
-2.1976769741999999E-5,
|
||||
3.75,
|
||||
3,
|
||||
],
|
||||
[
|
||||
-2.2090300382599999E-5,
|
||||
4.5,
|
||||
3,
|
||||
],
|
||||
[
|
||||
1.96610503274805,
|
||||
-1.5,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
1.71115551992626,
|
||||
-0.75,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0.99999988627274305,
|
||||
0,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0.28884425261922803,
|
||||
0.75,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0.033894739797432599,
|
||||
1.5,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0.0014626028594246,
|
||||
2.25,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
2.1976769741999999E-5,
|
||||
3,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
3.75,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
-1.135306406E-7,
|
||||
4.5,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
1.96610514627869,
|
||||
-1.5,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
1.7111556334569,
|
||||
-0.75,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0.99999999980338405,
|
||||
0,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0.28884436614986903,
|
||||
0.75,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0.033894853328073203,
|
||||
1.5,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0.0014627163900651,
|
||||
2.25,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
2.2090300382599999E-5,
|
||||
3,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
1.135306406E-7,
|
||||
3.75,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
4.5,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
-1.84270079294818,
|
||||
5,
|
||||
-1,
|
||||
],
|
||||
[
|
||||
1.84270079294818,
|
||||
-5,
|
||||
1,
|
||||
],
|
||||
];
|
166
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/ERFC.php
vendored
Normal file
166
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/ERFC.php
vendored
Normal file
@ -0,0 +1,166 @@
|
||||
<?php
|
||||
|
||||
// x value, Result
|
||||
|
||||
return [
|
||||
[
|
||||
1.0,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0.98871658444415,
|
||||
0.01,
|
||||
],
|
||||
[
|
||||
0.94362802220298303,
|
||||
0.050000000000000003,
|
||||
],
|
||||
[
|
||||
0.88753708398171505,
|
||||
0.10000000000000001,
|
||||
],
|
||||
[
|
||||
0.859683795198666,
|
||||
0.125,
|
||||
],
|
||||
[
|
||||
0.832004028572636,
|
||||
0.14999999999999999,
|
||||
],
|
||||
[
|
||||
0.77729741078952197,
|
||||
0.20000000000000001,
|
||||
],
|
||||
[
|
||||
0.72367360983176299,
|
||||
0.25,
|
||||
],
|
||||
[
|
||||
0.671373240540873,
|
||||
0.29999999999999999,
|
||||
],
|
||||
[
|
||||
0.62061794643768997,
|
||||
0.34999999999999998,
|
||||
],
|
||||
[
|
||||
0.57160764495333205,
|
||||
0.40000000000000002,
|
||||
],
|
||||
[
|
||||
0.524518280213076,
|
||||
0.45000000000000001,
|
||||
],
|
||||
[
|
||||
0.47950012218695298,
|
||||
0.5,
|
||||
],
|
||||
[
|
||||
0.39614390915207398,
|
||||
0.59999999999999998,
|
||||
],
|
||||
[
|
||||
0.32219880616258201,
|
||||
0.69999999999999996,
|
||||
],
|
||||
[
|
||||
0.25789903529233899,
|
||||
0.80000000000000004,
|
||||
],
|
||||
[
|
||||
0.203091787577168,
|
||||
0.90000000000000002,
|
||||
],
|
||||
[
|
||||
0.15729920705028499,
|
||||
1,
|
||||
],
|
||||
[
|
||||
0.119794930425918,
|
||||
1.1000000000000001,
|
||||
],
|
||||
[
|
||||
0.089686021770364596,
|
||||
1.2,
|
||||
],
|
||||
[
|
||||
0.065992055059347507,
|
||||
1.3,
|
||||
],
|
||||
[
|
||||
0.047714880237351202,
|
||||
1.3999999999999999,
|
||||
],
|
||||
[
|
||||
0.033894853524689302,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0.0133283287808176,
|
||||
1.75,
|
||||
],
|
||||
[
|
||||
0.0046777349810473001,
|
||||
2,
|
||||
],
|
||||
[
|
||||
0.00040695201744500001,
|
||||
2.5,
|
||||
],
|
||||
[
|
||||
2.20904969986E-5,
|
||||
3,
|
||||
],
|
||||
[
|
||||
7.4309837229999996E-7,
|
||||
3.5,
|
||||
],
|
||||
[
|
||||
1.54172579E-8,
|
||||
4,
|
||||
],
|
||||
[
|
||||
1.9661600000000001E-10,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
1.5375000000000001E-12,
|
||||
5,
|
||||
],
|
||||
[
|
||||
7.4000000000000003E-15,
|
||||
5.5,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
6,
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
32,
|
||||
],
|
||||
[
|
||||
1.1124629160182899,
|
||||
-0.10000000000000001,
|
||||
],
|
||||
[
|
||||
1.8427007929497099,
|
||||
-1,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
false,
|
||||
],
|
||||
[
|
||||
0.0046777349810473001,
|
||||
'2',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'TWO',
|
||||
],
|
||||
];
|
22
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/ERFPRECISE.php
vendored
Normal file
22
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/ERFPRECISE.php
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
// lower, bound, upper bound, Result
|
||||
|
||||
return [
|
||||
[
|
||||
0.0,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0.0112834155558496,
|
||||
0.01,
|
||||
],
|
||||
[
|
||||
-0.8427007929497148,
|
||||
-1.0,
|
||||
],
|
||||
[
|
||||
0.9661051464753108,
|
||||
1.5,
|
||||
],
|
||||
];
|
409
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/GESTEP.php
vendored
Normal file
409
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/GESTEP.php
vendored
Normal file
@ -0,0 +1,409 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
1,
|
||||
-1.5,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
-0.75,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
0,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
0.75,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
1.5,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
2.25,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3.75,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
4.5,
|
||||
-1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
-0.75,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
0,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
0.75,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
1.5,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
2.25,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3.75,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
4.5,
|
||||
-0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1,
|
||||
0.75,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1,
|
||||
1.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1,
|
||||
2.25,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3.75,
|
||||
0,
|
||||
],
|
||||
[
|
||||
1,
|
||||
4.5,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
0.75,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
1.5,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
2.25,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3.75,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
4.5,
|
||||
0.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.75,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
1.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
2.25,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3.75,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
4.5,
|
||||
1.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.75,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
0,
|
||||
1.5,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
1,
|
||||
2.25,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3.75,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
1,
|
||||
4.5,
|
||||
2.25,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.75,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0,
|
||||
1.5,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0,
|
||||
2.25,
|
||||
3,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3,
|
||||
3,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3.75,
|
||||
3,
|
||||
],
|
||||
[
|
||||
1,
|
||||
4.5,
|
||||
3,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.75,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
1.5,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
2.25,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
3,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
3.75,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
1,
|
||||
4.5,
|
||||
3.75,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-1.5,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
-0.75,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.75,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
1.5,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
2.25,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
3,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
0,
|
||||
3.75,
|
||||
4.5,
|
||||
],
|
||||
[
|
||||
1,
|
||||
4.5,
|
||||
4.5,
|
||||
],
|
||||
];
|
71
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/HEX2BIN.php
vendored
Normal file
71
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/HEX2BIN.php
vendored
Normal file
@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'11111111',
|
||||
'FF',
|
||||
],
|
||||
[
|
||||
'111111111',
|
||||
'1FF',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'200',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'1000000000',
|
||||
'FFFFFFFE00',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'#NUM!',
|
||||
'FFFFFFFDFF',
|
||||
],
|
||||
[
|
||||
'110101011',
|
||||
'01AB',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'ABCD',
|
||||
],
|
||||
[
|
||||
'11110110',
|
||||
'F6',
|
||||
],
|
||||
[
|
||||
'00001111',
|
||||
'F',
|
||||
8,
|
||||
],
|
||||
[
|
||||
'10110111',
|
||||
'B7',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'12345',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'123456789',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'123.45',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'G3579A',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
];
|
67
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/HEX2DEC.php
vendored
Normal file
67
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/HEX2DEC.php
vendored
Normal file
@ -0,0 +1,67 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'427',
|
||||
'01AB',
|
||||
],
|
||||
[
|
||||
'43981',
|
||||
'ABCD',
|
||||
],
|
||||
[
|
||||
'246',
|
||||
'F6',
|
||||
],
|
||||
[
|
||||
'74565',
|
||||
'12345',
|
||||
],
|
||||
[
|
||||
'4886718345',
|
||||
'123456789',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'123.45',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'G3579A',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'-107',
|
||||
],
|
||||
[
|
||||
'165',
|
||||
'A5',
|
||||
],
|
||||
[
|
||||
'1034160313',
|
||||
'3DA408B9',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'-165',
|
||||
'FFFFFFFF5B',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'-1',
|
||||
'FFFFFFFFFF',
|
||||
],
|
||||
// Too large
|
||||
[
|
||||
'#NUM!',
|
||||
'1FFFFFFFFFF',
|
||||
],
|
||||
];
|
58
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/HEX2OCT.php
vendored
Normal file
58
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/HEX2OCT.php
vendored
Normal file
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'653',
|
||||
'01AB',
|
||||
],
|
||||
[
|
||||
'125715',
|
||||
'ABCD',
|
||||
],
|
||||
[
|
||||
'366',
|
||||
'F6',
|
||||
],
|
||||
[
|
||||
'35516',
|
||||
'3B4E',
|
||||
],
|
||||
[
|
||||
'017',
|
||||
'F',
|
||||
3,
|
||||
],
|
||||
[
|
||||
'221505',
|
||||
'12345',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'123456789',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'123.45',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'G3579A',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'-107',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'7777777400',
|
||||
'FFFFFFFF00',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMABS.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMABS.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
13.58029822942,
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
6780000000.0,
|
||||
'1.234E-5+6.78E9i',
|
||||
],
|
||||
[
|
||||
4.3011626335209998,
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
3.6400549446400001,
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
3.5,
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
3.6400549446400001,
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
4.3011626335209998,
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
2.6925824035670001,
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
1.4142135623730001,
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'1',
|
||||
],
|
||||
[
|
||||
1.4142135623730001,
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
2.6925824035670001,
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
2.5,
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'0',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
2.5,
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
2.6925824035670001,
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
1.4142135623730001,
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
1.4142135623730001,
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
2.6925824035670001,
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
4.3011626335209998,
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
3.6400549446400001,
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
3.5,
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
3.6400549446400001,
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
4.3011626335209998,
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
];
|
124
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMAGINARY.php
vendored
Normal file
124
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMAGINARY.php
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
5.6699999999999999,
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
6780000000.0,
|
||||
'1.234E-5+6.78E9i',
|
||||
],
|
||||
[
|
||||
2.5,
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
-2.5,
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
2.5,
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'1',
|
||||
],
|
||||
[
|
||||
0,
|
||||
1,
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
-2.5,
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
2.5,
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'0',
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0,
|
||||
0.0,
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
-2.5,
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
2.5,
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
-2.5,
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
2.5,
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
-2.5,
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
];
|
108
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMARGUMENT.php
vendored
Normal file
108
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMARGUMENT.php
vendored
Normal file
@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
0.43071059555000002,
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
0.620249485983,
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
0.27829965900499998,
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
-0.27829965900499998,
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
-0.620249485983,
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
1.1902899496829999,
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
0.78539816339699997,
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'1',
|
||||
],
|
||||
[
|
||||
-0.78539816339699997,
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
-1.1902899496829999,
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
1.570796326795,
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
1.570796326795,
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'#DIV/0!',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
-1.570796326795,
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
-1.570796326795,
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
1.9513027039069999,
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
2.3561944901919998,
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
3.1415926535900001,
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
-2.3561944901919998,
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
-1.9513027039069999,
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
2.5213431676070002,
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
2.8632929945850001,
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
3.1415926535900001,
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
-2.8632929945850001,
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
-2.5213431676070002,
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
];
|
108
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCONJUGATE.php
vendored
Normal file
108
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCONJUGATE.php
vendored
Normal file
@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'12.34-5.67j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'3.5-2.5i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'3.5-i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'3.5',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'3.5+i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'3.5+2.5i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'1-2.5i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'1-i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'1',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'1+i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'1+2.5i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'-2.5i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'-i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'2.5i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'-1-2.5i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'-1-i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'-1',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'-1+i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'-1+2.5i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'-3.5-2.5i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-3.5-i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'-3.5',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'-3.5+i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'-3.5+2.5i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCOS.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCOS.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'141.319179436356+32.547610312508j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'-5.74262349163406+2.12231025604134i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-1.44502817950166+0.412240867891067i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'-0.936456687290796',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'-1.44502817950166-0.412240867891067i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'-5.74262349163406-2.12231025604134i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'3.31329014611322-5.0910715229497i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.833730025131149-0.988897705762865i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'0.54030230586814',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.833730025131149+0.988897705762865i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'3.31329014611322+5.0910715229497i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'6.13228947966369',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'1.54308063481524',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'1',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'1.54308063481524',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'6.13228947966369',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'3.31329014611322+5.0910715229497i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.833730025131149+0.988897705762865i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'0.54030230586814',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'0.833730025131149-0.988897705762865i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'3.31329014611322-5.0910715229497i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'-5.74262349163406-2.12231025604134i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-1.44502817950166-0.412240867891067i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'-0.936456687290796',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'-1.44502817950166+0.412240867891067i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'-5.74262349163406+2.12231025604134i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.989992496600445',
|
||||
'3',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCOSH.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCOSH.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'93502.0563713182121-65794.6618967782119j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'-13.2772126767962807+9.90030162194353525i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'8.95433538452066202+13.9201408750362033i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'16.5728246710573161',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'8.95433538452066202-13.9201408750362033i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'-13.2772126767962807-9.90030162194353525i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'-1.23622919885634208+0.703325178113534826i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.833730025131149049+0.988897705762865096i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'1.54308063481524378',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.833730025131149049-0.988897705762865096i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'-1.23622919885634208-0.703325178113534826i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.801143615546933715',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'0.540302305868139717',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'1',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'0.540302305868139717',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'-0.801143615546933715',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'-1.23622919885634208-0.703325178113534826i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.833730025131149049-0.988897705762865096i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'1.54308063481524378',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'0.833730025131149049+0.988897705762865096i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'-1.23622919885634208+0.703325178113534826i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'-13.2772126767962807-9.90030162194353525i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'8.95433538452066202-13.9201408750362033i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'16.5728246710573161',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'8.95433538452066202+13.9201408750362033i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'-13.2772126767962807+9.90030162194353525i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'10.0676619957777658',
|
||||
'3',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCOT.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCOT.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'-0.0000104004141424230319-1.00002138037057154j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'0.00894394174578834370-1.01017158348808170i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.218391793398543914-1.20562055667579681i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'2.66961648496886604',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'0.218391793398543914+1.20562055667579681i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'0.00894394174578834370+1.01017158348808170i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'0.0121847112919806296-0.994333285407756555i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.217621561854402681-0.868014142895924949i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'0.642092615934330703',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.217621561854402681+0.868014142895924949i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'0.0121847112919806296+0.994333285407756555i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'-1.01356730981260846i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'-1.31303528549933130i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
INF,
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'1.31303528549933130i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'1.013567309812609i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.01218471129198063-0.994333285407757i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.21762156185440268-0.8680141428959249i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'-0.642092615934330703',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'-0.21762156185440268+0.8680141428959249i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'-0.01218471129198063+0.994333285407757i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.00894394174578834-1.010171583488082i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.2183917933985438-1.205620556675797i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'-2.66961648496886604',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'-0.2183917933985438+1.205620556675797i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'-0.00894394174578834+1.010171583488082i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'-7.01525255143453347',
|
||||
'3',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCSC.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCSC.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'-0.00154774455592154432-0.00671986631601416928j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'-0.0585684747824233590+0.154262439469903774i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.359863036667298479+0.731660683934045561i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'-2.85076343754046413',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'-0.359863036667298479-0.731660683934045561i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'-0.0585684747824233590-0.154262439469903774i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'0.138293277776215018-0.0876084810883255787i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.621518017170428421-0.303931001628426450i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'1.18839510577812122',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.621518017170428421+0.303931001628426450i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'0.138293277776215018+0.0876084810883255787i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.165283669855095565i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'-0.850918128239321545i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
INF,
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'0.850918128239321545i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'0.1652836698550956i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.138293277776215-0.0876084810883256i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.62151801717042842-0.30393100162842645i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'-1.18839510577812122',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'-0.62151801717042842+0.30393100162842645i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'-0.138293277776215+0.0876084810883256i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'0.05856847478242335+0.1542624394699038i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.3598630366672985+0.7316606839340456i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'2.85076343754046413',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'0.3598630366672985-0.7316606839340456i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'0.05856847478242335-0.1542624394699038i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'7.08616739573718592',
|
||||
'3',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCSCH.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMCSCH.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'7.15308425027293823E-6+5.03341614148979354E-6j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'-0.0483657415388563464-0.0361962406084861128i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.0325769243120443503-0.0508281676948511387i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'0.0604498900091561051',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'0.0325769243120443503+0.0508281676948511387i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'-0.0483657415388563464+0.0361962406084861128i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.541322906190002332-0.530965577621174208i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.303931001628426450-0.621518017170428421i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'0.850918128239321545',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.303931001628426450+0.621518017170428421i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'-0.541322906190002332+0.530965577621174208i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'-1.67092154555867993i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'-1.18839510577812122i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
INF,
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'1.18839510577812122i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'1.67092154555868i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'0.5413229061900022-0.5309655776211742i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.30393100162842645-0.62151801717042842i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'-0.850918128239321545',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'-0.30393100162842645+0.62151801717042842i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'0.5413229061900022+0.5309655776211742i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'0.04836574153885635-0.03619624060848612i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.03257692431204435-0.05082816769485113i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'-0.0604498900091561051',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'-0.03257692431204435+0.05082816769485113i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'0.04836574153885635+0.03619624060848612i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'0.0998215696688227329',
|
||||
'3',
|
||||
],
|
||||
];
|
89
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMDIV.php
vendored
Normal file
89
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMDIV.php
vendored
Normal file
@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#NUM!',
|
||||
'12.34+5.67j',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'0.0961415519586104-0.00694248653276682j',
|
||||
'12.34+5.67j',
|
||||
'123.45+67.89j',
|
||||
],
|
||||
[
|
||||
'0.0961415519586104+0.00694248653276682i',
|
||||
'-12.34+5.67i',
|
||||
'-123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'0.0573549954111941+0.0774712890924744i',
|
||||
'-12.34-5.67i',
|
||||
'-123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'0.0573549954111941-0.0774712890924744i',
|
||||
'-12.34+5.67i',
|
||||
'-123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'0.0961415519586104-0.00694248653276682i',
|
||||
'-12.34-5.67i',
|
||||
'-123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'-0.0573549954111941-0.0774712890924744i',
|
||||
'12.34+5.67i',
|
||||
'-123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'-0.0961415519586104-0.00694248653276682i',
|
||||
'12.34-5.67i',
|
||||
'-123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'-0.0961415519586104+0.00694248653276682i',
|
||||
'12.34+5.67i',
|
||||
'-123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'-0.0573549954111941+0.0774712890924744i',
|
||||
'12.34-5.67i',
|
||||
'-123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'-0.0573549954111941+0.0774712890924744i',
|
||||
'-12.34+5.67i',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'-0.0961415519586104+0.00694248653276682i',
|
||||
'-12.34-5.67i',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'-0.0961415519586104-0.00694248653276682i',
|
||||
'-12.34+5.67i',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'-0.0573549954111941-0.0774712890924744i',
|
||||
'-12.34-5.67i',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'1',
|
||||
'-12.34-5.67i',
|
||||
'-12.34-5.67i',
|
||||
],
|
||||
[
|
||||
'-0.0767482736849023-0.0422068878126206i',
|
||||
'-12.34',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'1+0.459481361426256i',
|
||||
'-12.34-5.67i',
|
||||
'-12.34',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMEXP.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMEXP.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'187004.11273906-131589.323796073j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'0.519482808316086+0.85433649244115i',
|
||||
'-12.34E-5+6.78E9i',
|
||||
],
|
||||
[
|
||||
'-26.5302329126575+19.8186755366902i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'17.8923550531471+27.8656919720394i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'33.1154519586923',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'17.8923550531471-27.8656919720394i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'-26.5302329126575-19.8186755366902i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'-2.17773413212721+1.62681595415671i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'1.46869393991589+2.28735528717884i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'2.71828182845905',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'1.46869393991589-2.28735528717884i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'-2.17773413212721-1.62681595415671i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.801143615546934+0.598472144103957i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'0.54030230586814+0.841470984807897i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'1',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'0.54030230586814-0.841470984807897i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'-0.801143615546934-0.598472144103957i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.294724265585475+0.220165597929638i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.198766110346413+0.309559875653112i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'0.367879441171442',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'0.198766110346413-0.309559875653112i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'-0.294724265585475-0.220165597929638i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.0241924409350133+0.0180722928030842i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.016315715894263+0.025410221967i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'0.0301973834223185',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'0.016315715894263-0.025410221967i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'-0.0241924409350133-0.0180722928030842i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMLN.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMLN.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'2.60862008281875+0.430710595550204j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'22.6372429388987+1.5707963267949i',
|
||||
'-1.234E-5+6.78E9i',
|
||||
],
|
||||
[
|
||||
'1.45888536604214+0.620249485982821i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'1.29199877621612+0.278299659005111i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'1.25276296849537',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'1.29199877621612-0.278299659005111i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'1.45888536604214-0.620249485982821i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'0.990500734433292+1.19028994968253i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.346573590279973+0.785398163397448i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.346573590279973-0.785398163397448i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'0.990500734433292-1.19028994968253i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'0.916290731874155+1.5707963267949i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'1.5707963267949i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'-1.5707963267949i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'0.916290731874155-1.5707963267949i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'0.990500734433292+1.95130270390726i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.346573590279973+2.35619449019234i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'3.14159265358979i',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'0.346573590279973-2.35619449019234i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'0.990500734433292-1.95130270390726i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'1.45888536604214+2.52134316760697i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'1.29199877621612+2.86329299458468i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'1.25276296849537+3.14159265358979i',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'1.29199877621612-2.86329299458468i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'1.45888536604214-2.52134316760697i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMLOG10.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMLOG10.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'1.13290930735019+0.187055234944717j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'9.83122969386706+0.682188176920927i',
|
||||
'-12.34E-5+6.78E9i',
|
||||
],
|
||||
[
|
||||
'0.633585864201507+0.269370929165668i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.561107939136413+0.120864006221476i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'0.544068044350276',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'0.561107939136413-0.120864006221476i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'0.633585864201507-0.269370929165668i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'0.430169003285497+0.516936357012023i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.150514997831991+0.34109408846046i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.150514997831991-0.34109408846046i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'0.430169003285497-0.516936357012023i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'0.397940008672038+0.68218817692092i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'0.68218817692092i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'-0.68218817692092i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'0.397940008672038-0.68218817692092i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'0.430169003285497+0.847439996829817i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.150514997831991+1.02328226538138i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'1.36437635384184i',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'0.150514997831991-1.02328226538138i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'0.430169003285497-0.847439996829817i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'0.633585864201507+1.09500542467617i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.561107939136413+1.24351234762036i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'0.544068044350276+1.36437635384184i',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'0.561107939136413-1.24351234762036i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'0.633585864201507-1.09500542467617i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMLOG2.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMLOG2.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'3.76344325733562+0.621384040306436j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'32.6586381298614+2.26618007108803i',
|
||||
'-12.34E-5+6.78E9i',
|
||||
],
|
||||
[
|
||||
'2.10472668297646+0.894830857610216i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'1.86396022742506+0.401501537958665i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'1.80735492219671',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'1.86396022742506-0.401501537958665i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'2.10472668297646-0.894830857610216i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'1.42899049767377+1.71722540775913i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.500000000038482+1.13309003554401i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.500000000038482-1.13309003554401i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'1.42899049767377-1.71722540775913i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'1.3219280949891+2.26618007108801i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'2.26618007108801i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'-2.26618007108801i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'1.3219280949891-2.26618007108801i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'1.42899049767377+2.81513473441689i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.500000000038482+3.39927010663201i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'4.53236014217602i',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'0.500000000038482-3.39927010663201i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'1.42899049767377-2.81513473441689i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'2.10472668297646+3.63752928456581i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'1.86396022742506+4.13085860421736i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'1.80735492219671+4.53236014217602i',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'1.86396022742506-4.13085860421736i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'2.10472668297646-3.63752928456581i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
];
|
94
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMPOWER.php
vendored
Normal file
94
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMPOWER.php
vendored
Normal file
@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'120.1267+139.9356j',
|
||||
'12.34+5.67j',
|
||||
2,
|
||||
],
|
||||
[
|
||||
'688.928626+2407.923693j',
|
||||
'12.34+5.67j',
|
||||
3,
|
||||
],
|
||||
[
|
||||
'6.69108496973016E-002-3.07442883131037E-002j',
|
||||
'12.34+5.67j',
|
||||
-1,
|
||||
],
|
||||
[
|
||||
'3.53185054333564E-003-4.11425290873718E-003j',
|
||||
'12.34+5.67j',
|
||||
-2,
|
||||
],
|
||||
[
|
||||
'3.60002071031685+0.787495469644252j',
|
||||
'12.34+5.67j',
|
||||
0.5,
|
||||
],
|
||||
[
|
||||
'0.517904976730581-5.59833234375533E-002j',
|
||||
'12.34+5.67j',
|
||||
-0.25,
|
||||
],
|
||||
[
|
||||
'1',
|
||||
'12.34+5.67j',
|
||||
0,
|
||||
],
|
||||
[
|
||||
'-1-1.34451369308841E-014i',
|
||||
'-i',
|
||||
2,
|
||||
],
|
||||
[
|
||||
'1.22460635382238E-016-2i',
|
||||
'1-i',
|
||||
2,
|
||||
],
|
||||
[
|
||||
'-6.25+8.40321058180257E-014i',
|
||||
'2.5i',
|
||||
2,
|
||||
],
|
||||
[
|
||||
'-6.98771242968685-6.98771242968684i',
|
||||
'2.5i',
|
||||
'2.5',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
'2.5i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
9.8821176880261898,
|
||||
'2.5',
|
||||
'2.5',
|
||||
],
|
||||
[
|
||||
4,
|
||||
'2',
|
||||
'2',
|
||||
],
|
||||
[
|
||||
'-4.69972844488573E-15+9.35464904349343E-15i',
|
||||
'-12.34-5.67i',
|
||||
'-12.34',
|
||||
],
|
||||
[
|
||||
'5.93343000067521E-15-8.62503997728057E-15i',
|
||||
'12.34-5.67i',
|
||||
'-12.34',
|
||||
],
|
||||
[
|
||||
'-42881944468901.9-85355046682682.3i',
|
||||
'-12.34-5.67i',
|
||||
'12.34',
|
||||
],
|
||||
[
|
||||
'54138663282971.3+78697841733874.3i',
|
||||
'12.34-5.67i',
|
||||
'12.34',
|
||||
],
|
||||
];
|
80
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMPRODUCT.php
vendored
Normal file
80
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMPRODUCT.php
vendored
Normal file
@ -0,0 +1,80 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#NUM!',
|
||||
'12.34+5.67j',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'12.34+5.67j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'6454.936089+8718.895647i',
|
||||
'12.34+5.67i',
|
||||
'123.45+67.89i',
|
||||
'5.67',
|
||||
],
|
||||
[
|
||||
'6454.936089+8718.895647j',
|
||||
'12.34+5.67j',
|
||||
'123.45+67.89j',
|
||||
'5.67',
|
||||
],
|
||||
[
|
||||
'1138.4367+1537.7241j',
|
||||
'12.34+5.67j',
|
||||
'123.45+67.89j',
|
||||
],
|
||||
[
|
||||
'1908.3093+137.8011i',
|
||||
'12.34-5.67i',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'1908.3093-137.8011i',
|
||||
'12.34+5.67i',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'1138.4367-1537.7241i',
|
||||
'12.34-5.67i',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'-1908.3093-137.8011i',
|
||||
'-12.34+5.67i',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'-1138.4367-1537.7241i',
|
||||
'-12.34-5.67i',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'-1908.3093+137.8011i',
|
||||
'12.34+5.67i',
|
||||
'-123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'1138.4367-1537.7241i',
|
||||
'-12.34+5.67i',
|
||||
'-123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'1138.4367+1537.7241i',
|
||||
'-12.34-5.67i',
|
||||
'-123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'-1523.373+837.7626i',
|
||||
'-12.34',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'152.2756+69.9678i',
|
||||
'-12.34-5.67i',
|
||||
'-12.34',
|
||||
],
|
||||
];
|
124
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMREAL.php
vendored
Normal file
124
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMREAL.php
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
12.34,
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
-1.234E-5,
|
||||
'-1.234E-5+6.78E9i',
|
||||
],
|
||||
[
|
||||
3.5,
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
3.5,
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
3.5,
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
3.5,
|
||||
3.5,
|
||||
],
|
||||
[
|
||||
3.5,
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
3.5,
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'1',
|
||||
],
|
||||
[
|
||||
1,
|
||||
1,
|
||||
],
|
||||
[
|
||||
1,
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
1,
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'0',
|
||||
],
|
||||
[
|
||||
0,
|
||||
0,
|
||||
],
|
||||
[
|
||||
0,
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
0,
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
-1,
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
-3.5,
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
-3.5,
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
-3.5,
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
-3.5,
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
-3.5,
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSEC.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSEC.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'0.00671973874162309199-0.00154764157870523791j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'-0.153210472299609239-0.0566222314884645297i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.639945455994778845-0.182565069612144926i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'-1.06785504719181066',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'-0.639945455994778845+0.182565069612144926i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'-0.153210472299609239+0.0566222314884645297i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'0.0897986028721219428+0.137981006709970822i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.498337030555186785+0.591083841721045048i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'1.85081571768092562',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.498337030555186785-0.591083841721045048i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'0.0897986028721219428-0.137981006709970822i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'0.163071231929977826',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'0.648054273663885400',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'1.0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'0.648054273663885400',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'0.163071231929977826',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'0.0897986028721219428-0.137981006709970822i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.498337030555186785-0.591083841721045048i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'1.85081571768092562',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'0.498337030555186785+0.591083841721045048i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'0.0897986028721219428+0.137981006709970822i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.153210472299609239+0.0566222314884645297i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.639945455994778845+0.182565069612144926i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'-1.06785504719181066',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'-0.639945455994778845-0.182565069612144926i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'-0.153210472299609239-0.0566222314884645297i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'-1.01010866590799375',
|
||||
'3',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSECH.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSECH.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'7.15308425036177674E-6+5.03341614116724074E-6j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'-0.0484039219824442559-0.0360929239424409676i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.0326859677559519711-0.0508126238588615047i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'0.0603397441201676464',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'0.0326859677559519711+0.0508126238588615047i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'-0.0484039219824442559+0.0360929239424409676i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.611108564155231518-0.347676660710495997i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.498337030555186785-0.591083841721045048i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'0.648054273663885400',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.498337030555186785+0.591083841721045048i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'-0.611108564155231518+0.347676660710495997i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'-1.24821565146881783',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'1.85081571768092562',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'1.0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'1.85081571768092562',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'-1.24821565146881783',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.611108564155231518+0.347676660710495997i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.498337030555186785+0.591083841721045048i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'0.648054273663885400',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'0.498337030555186785-0.591083841721045048i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'-0.611108564155231518-0.347676660710495997i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.0484039219824442559+0.0360929239424409676i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.0326859677559519711+0.0508126238588615047i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'0.0603397441201676464',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'0.0326859677559519711-0.0508126238588615047i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'-0.0484039219824442559-0.0360929239424409676i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'0.0993279274194332078',
|
||||
'3',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSIN.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSIN.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'-32.5483841590412+141.315819535092j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'-2.15110429680353-5.66575444574645i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.541286805665839-1.10052501669986i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'-0.35078322768962',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'-0.541286805665839+1.10052501669986i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'-2.15110429680353+5.66575444574645i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'5.16014366757971+3.26893943207955i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'1.29845758141598+0.634963914784736i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'0.841470984807897',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'1.29845758141598-0.634963914784736i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'5.16014366757971-3.26893943207955i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'6.05020448103979i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'1.1752011936438i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'-1.1752011936438i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'-6.05020448103979i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'-5.16014366757971+3.26893943207955i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'-1.29845758141598+0.634963914784736i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'-0.841470984807897',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'-1.29845758141598-0.634963914784736i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'-5.16014366757971-3.26893943207955i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'2.15110429680353-5.66575444574645i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.541286805665839-1.10052501669986i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'0.35078322768962',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'0.541286805665839+1.10052501669986i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'2.15110429680353+5.66575444574645i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'0.141120008059867',
|
||||
'3',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSINH.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSINH.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'93502.0563677416700-65794.6618992949199j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'-13.2530202358612674+9.91837391474661948i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'8.93801966862639899+13.9455510970032033i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'16.5426272876349976',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'8.93801966862639899-13.9455510970032033i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'-13.2530202358612674-9.91837391474661948i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.941504933270867276+0.923490776043173241i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.634963914784736108+1.29845758141597729i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'1.17520119364380146',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.634963914784736108-1.29845758141597729i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'-0.941504933270867276-0.923490776043173241i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'0.598472144103956494i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'0.841470984807896507i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'0.0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'-0.841470984807896507i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'-0.5984721441039565i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'0.941504933270867+0.923490776043173i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.63496391478473611+1.29845758141597729i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'-1.17520119364380146',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'-0.63496391478473611-1.29845758141597729i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'0.941504933270867-0.923490776043173i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'13.25302023586127+9.91837391474662i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-8.9380196686264+13.9455510970032i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'-16.5426272876349976',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'-8.9380196686264-13.9455510970032i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'13.25302023586127-9.91837391474662i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'10.0178749274099019',
|
||||
'3',
|
||||
],
|
||||
];
|
116
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSQRT.php
vendored
Normal file
116
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSQRT.php
vendored
Normal file
@ -0,0 +1,116 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'3.60002071031685+0.787495469644252j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'58223.7065120385+58223.7065120386i',
|
||||
'-1.234E-5+6.78E9i',
|
||||
],
|
||||
[
|
||||
'1.9749889409211+0.632914936433528i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'1.88945163270197+0.264627043818521i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'1.87082869338697',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'1.88945163270197-0.264627043818521i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'1.9749889409211-0.632914936433528i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'1.35878298553655+0.919940868634298i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'1.09868411346781+0.455089860562227i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'1',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'1.09868411346781-0.455089860562227i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'1.35878298553655-0.919940868634298i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'1.11803398874989+1.11803398874989i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'0.707106781186548+0.707106781186547i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'0.707106781186548-0.707106781186547i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'1.11803398874989-1.11803398874989i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'0.919940868634298+1.35878298553655i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.455089860562227+1.09868411346781i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'0.923879532511287+0.382683432365089i',
|
||||
'0.707106781186548+0.707106781186547i',
|
||||
],
|
||||
[
|
||||
'0.455089860562227-1.09868411346781i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'0.919940868634298-1.35878298553655i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'0.632914936433528+1.9749889409211i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.264627043818521+1.88945163270197i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'1.14602144155088E-16+1.87082869338697i',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'0.264627043818521-1.88945163270197i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'0.632914936433528-1.9749889409211i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'3',
|
||||
'9',
|
||||
],
|
||||
];
|
40
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSUB.php
vendored
Normal file
40
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSUB.php
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#NUM!',
|
||||
'12.34+5.67j',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'111.11+62.22j',
|
||||
'123.45+67.89j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'-111.11-62.22j',
|
||||
'12.34+5.67j',
|
||||
'123.45+67.89j',
|
||||
],
|
||||
[
|
||||
'-111.11-62.22i',
|
||||
'12.34+5.67i',
|
||||
'123.45+67.89i',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'-135.79+62.22i',
|
||||
'-12.34-5.67i',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'135.79+62.22i',
|
||||
'12.34-5.67i',
|
||||
'-123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'111.11+62.22i',
|
||||
'-12.34-5.67i',
|
||||
'-123.45-67.89i',
|
||||
],
|
||||
];
|
56
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSUM.php
vendored
Normal file
56
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMSUM.php
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#NUM!',
|
||||
'12.34+5.67j',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'135.79+73.56j',
|
||||
'12.34+5.67j',
|
||||
'123.45+67.89j',
|
||||
],
|
||||
[
|
||||
'135.79+62.22i',
|
||||
'12.34-5.67i',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'135.79-62.22i',
|
||||
'12.34+5.67i',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'135.79-73.56i',
|
||||
'12.34-5.67i',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'259.24+141.45i',
|
||||
'12.34+5.67i',
|
||||
'123.45+67.89i',
|
||||
'123.45+67.89i',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'12.34+5.67i',
|
||||
'123.45+67.89i',
|
||||
'123.45+67.89j',
|
||||
],
|
||||
[
|
||||
'111.11-73.56i',
|
||||
'-12.34-5.67i',
|
||||
'123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'-111.11-73.56i',
|
||||
'12.34-5.67i',
|
||||
'-123.45-67.89i',
|
||||
],
|
||||
[
|
||||
'-135.79-73.56i',
|
||||
'-12.34-5.67i',
|
||||
'-123.45-67.89i',
|
||||
],
|
||||
];
|
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMTAN.php
vendored
Normal file
112
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/IMTAN.php
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'-0.0000103999694261435177+0.999978619978377253j',
|
||||
'12.34+5.67j',
|
||||
],
|
||||
[
|
||||
'0.00876404549513463160+0.989853240015864536i',
|
||||
'3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'0.145476605392064825+0.803096047002175475i',
|
||||
'3.5+i',
|
||||
],
|
||||
[
|
||||
'0.374585640158594666',
|
||||
'3.5',
|
||||
],
|
||||
[
|
||||
'0.145476605392064825-0.803096047002175475i',
|
||||
'3.5-i',
|
||||
],
|
||||
[
|
||||
'0.00876404549513463160-0.989853240015864536i',
|
||||
'3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'0.0123221382558283535+1.00554801189505998i',
|
||||
'1+2.5i',
|
||||
],
|
||||
[
|
||||
'0.271752585319511717+1.08392332733869454i',
|
||||
'1+i',
|
||||
],
|
||||
[
|
||||
'1.55740772465490223',
|
||||
'1',
|
||||
],
|
||||
[
|
||||
'0.271752585319511717-1.08392332733869454i',
|
||||
'1-i',
|
||||
],
|
||||
[
|
||||
'0.0123221382558283535-1.00554801189505998i',
|
||||
'1-2.5i',
|
||||
],
|
||||
[
|
||||
'0.986614298151430289i',
|
||||
'2.5i',
|
||||
],
|
||||
[
|
||||
'0.761594155955764888i',
|
||||
'i',
|
||||
],
|
||||
[
|
||||
'0.0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'-0.761594155955764888i',
|
||||
'-i',
|
||||
],
|
||||
[
|
||||
'-0.98661429815143i',
|
||||
'-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.01232213825582835+1.00554801189506i',
|
||||
'-1+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.27175258531951172+1.0839233273386945i',
|
||||
'-1+i',
|
||||
],
|
||||
[
|
||||
'-1.55740772465490223',
|
||||
'-1',
|
||||
],
|
||||
[
|
||||
'-0.27175258531951172-1.08392332733869454i',
|
||||
'-1-i',
|
||||
],
|
||||
[
|
||||
'-0.01232213825582835-1.00554801189506i',
|
||||
'-1-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.00876404549513463+0.989853240015864i',
|
||||
'-3.5+2.5i',
|
||||
],
|
||||
[
|
||||
'-0.1454766053920648+0.803096047002176i',
|
||||
'-3.5+i',
|
||||
],
|
||||
[
|
||||
'-0.374585640158594666',
|
||||
'-3.5',
|
||||
],
|
||||
[
|
||||
'-0.1454766053920648-0.803096047002176i',
|
||||
'-3.5-i',
|
||||
],
|
||||
[
|
||||
'-0.00876404549513463-0.989853240015864i',
|
||||
'-3.5-2.5i',
|
||||
],
|
||||
[
|
||||
'-0.142546543074277805',
|
||||
'3',
|
||||
],
|
||||
];
|
61
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/OCT2BIN.php
vendored
Normal file
61
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/OCT2BIN.php
vendored
Normal file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'#NUM!',
|
||||
'1357',
|
||||
],
|
||||
[
|
||||
'10100110',
|
||||
'246',
|
||||
],
|
||||
[
|
||||
'011',
|
||||
'3',
|
||||
3,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'12345',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'123.45',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'3579',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'1000000000',
|
||||
'7777777000',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'1111111111',
|
||||
'7777777777',
|
||||
],
|
||||
// Too small
|
||||
[
|
||||
'#NUM!',
|
||||
'17777777777',
|
||||
],
|
||||
[
|
||||
'111111111',
|
||||
'777',
|
||||
],
|
||||
// Too large
|
||||
[
|
||||
'#NUM!',
|
||||
'1777',
|
||||
],
|
||||
];
|
41
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/OCT2DEC.php
vendored
Normal file
41
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/OCT2DEC.php
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'751',
|
||||
'1357',
|
||||
],
|
||||
[
|
||||
'166',
|
||||
'246',
|
||||
],
|
||||
[
|
||||
'5349',
|
||||
'12345',
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'123.45',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'3579',
|
||||
],
|
||||
[
|
||||
'44',
|
||||
'54',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'-165',
|
||||
'7777777533',
|
||||
],
|
||||
];
|
42
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/OCT2HEX.php
vendored
Normal file
42
inc/vendor/phpoffice/phpspreadsheet/tests/data/Calculation/Engineering/OCT2HEX.php
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
[
|
||||
'2EF',
|
||||
'1357',
|
||||
],
|
||||
[
|
||||
'A6',
|
||||
'246',
|
||||
],
|
||||
[
|
||||
'14E5',
|
||||
'12345',
|
||||
],
|
||||
[
|
||||
'0040',
|
||||
'100',
|
||||
4,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'123.45',
|
||||
],
|
||||
[
|
||||
'0',
|
||||
'0',
|
||||
],
|
||||
[
|
||||
'#VALUE!',
|
||||
true,
|
||||
],
|
||||
[
|
||||
'#NUM!',
|
||||
'3579',
|
||||
],
|
||||
// 2's Complement
|
||||
[
|
||||
'FFFFFFFF5B',
|
||||
'7777777533',
|
||||
],
|
||||
];
|
Reference in New Issue
Block a user