Files
PhpSpreadsheet/tests/data/Calculation/Engineering/IMCONJUGATE.php
T
Mark Baker 4e8a926cb4 Final part of breaking down the Engineering class for Excel Engineering functions into smaller individual/group classes (#1940)
* Final breaking down the Engineering class for Excel Engineering functions into smaller individual/group classes
* Additional unhappy path tests for Complex Number functions
* Fix return docblocks for floats to allow for error strings
2021-03-19 18:50:43 +01:00

115 lines
1.3 KiB
PHP

<?php
use PhpOffice\PhpSpreadsheet\Calculation\Functions;
return [
[
'12.34-5.67j',
'12.34+5.67j',
],
[
Functions::NAN(),
'Invalid Complex Number',
],
[
'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',
],
];