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

125 lines
1.3 KiB
PHP

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