mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-25 10:28:15 +00:00
4e8a926cb4
* 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
48 lines
803 B
PHP
48 lines
803 B
PHP
<?php
|
|
|
|
use PhpOffice\PhpSpreadsheet\Calculation\Functions;
|
|
|
|
return [
|
|
[
|
|
Functions::NAN(),
|
|
'12.34+5.67j',
|
|
'123.45+67.89i',
|
|
],
|
|
[
|
|
Functions::NAN(),
|
|
'12.34+5.67j',
|
|
'Invalid Complex Number',
|
|
],
|
|
[
|
|
'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',
|
|
],
|
|
];
|