PhpSpreadsheet/tests/data/Calculation/Engineering/IMARGUMENT.php

109 lines
1.4 KiB
PHP

<?php
return [
[
'12.34+5.67j',
0.43071059555000002,
],
[
'3.5+2.5i',
0.620249485983,
],
[
'3.5+i',
0.27829965900499998,
],
[
'3.5',
0,
],
[
'3.5-i',
-0.27829965900499998,
],
[
'3.5-2.5i',
-0.620249485983,
],
[
'1+2.5i',
1.1902899496829999,
],
[
'1+i',
0.78539816339699997,
],
[
'1',
0,
],
[
'1-i',
-0.78539816339699997,
],
[
'1-2.5i',
-1.1902899496829999,
],
[
'2.5i',
1.570796326795,
],
[
'i',
1.570796326795,
],
[
'0',
'#DIV/0!',
],
[
'-i',
-1.570796326795,
],
[
'-2.5i',
-1.570796326795,
],
[
'-1+2.5i',
1.9513027039069999,
],
[
'-1+i',
2.3561944901919998,
],
[
'-1',
3.1415926535900001,
],
[
'-1-i',
-2.3561944901919998,
],
[
'-1-2.5i',
-1.9513027039069999,
],
[
'-3.5+2.5i',
2.5213431676070002,
],
[
'-3.5+i',
2.8632929945850001,
],
[
'-3.5',
3.1415926535900001,
],
[
'-3.5-i',
-2.8632929945850001,
],
[
'-3.5-2.5i',
-2.5213431676070002,
],
];