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

113 lines
1.4 KiB
PHP

<?php
return [
[
13.58029822942,
'12.34+5.67j',
],
[
6780000000.0,
'1.234E-5+6.78E9i',
],
[
4.3011626335209998,
'3.5+2.5i',
],
[
3.6400549446400001,
'3.5+i',
],
[
3.5,
'3.5',
],
[
3.6400549446400001,
'3.5-i',
],
[
4.3011626335209998,
'3.5-2.5i',
],
[
2.6925824035670001,
'1+2.5i',
],
[
1.4142135623730001,
'1+i',
],
[
1,
'1',
],
[
1.4142135623730001,
'1-i',
],
[
2.6925824035670001,
'1-2.5i',
],
[
2.5,
'2.5i',
],
[
1,
'i',
],
[
0,
'0',
],
[
1,
'-i',
],
[
2.5,
'-2.5i',
],
[
2.6925824035670001,
'-1+2.5i',
],
[
1.4142135623730001,
'-1+i',
],
[
1,
'-1',
],
[
1.4142135623730001,
'-1-i',
],
[
2.6925824035670001,
'-1-2.5i',
],
[
4.3011626335209998,
'-3.5+2.5i',
],
[
3.6400549446400001,
'-3.5+i',
],
[
3.5,
'-3.5',
],
[
3.6400549446400001,
'-3.5-i',
],
[
4.3011626335209998,
'-3.5-2.5i',
],
];