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

125 lines
1.3 KiB
PHP

<?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',
],
];