PhpSpreadsheet/tests/data/Calculation/MathTrig/POWER.php

410 lines
4.8 KiB
PHP
Raw Normal View History

<?php
return [
[
-1.5,
-1.5,
'#NUM!',
],
[
-0.75,
-1.5,
'#NUM!',
],
[
0,
-1.5,
'#DIV/0!',
],
[
0.75,
-1.5,
1.5396007178390001,
],
[
1.5,
-1.5,
0.54433105395182002,
],
[
2.25,
-1.5,
0.2962962962963,
],
[
3,
-1.5,
0.19245008972988001,
],
[
3.75,
-1.5,
0.13770607453181999,
],
[
4.5,
-1.5,
0.10475656017579001,
],
[
-1.5,
-0.75,
'#NUM!',
],
[
-0.75,
-0.75,
'#NUM!',
],
[
0,
-0.75,
'#DIV/0!',
],
[
0.75,
-0.75,
1.2408064788027999,
],
[
1.5,
-0.75,
0.73778794646687995,
],
[
2.25,
-0.75,
0.54433105395182002,
],
[
3,
-0.75,
0.43869133765083002,
],
[
3.75,
-0.75,
0.37108769116182999,
],
[
4.5,
-0.75,
0.32366118113822001,
],
[
-1.5,
0,
1,
],
[
-0.75,
0,
1,
],
[
0,
0,
'#NUM!',
],
[
0.75,
0,
1,
],
[
1.5,
0,
1,
],
[
2.25,
0,
1,
],
[
3,
0,
1,
],
[
3.75,
0,
1,
],
[
4.5,
0,
1,
],
[
-1.5,
0.75,
'#NUM!',
],
[
-0.75,
0.75,
'#NUM!',
],
[
0,
0.75,
0,
],
[
0.75,
0.75,
0.80592744886765999,
],
[
1.5,
0.75,
1.3554030054147701,
],
[
2.25,
0.75,
1.8371173070873801,
],
[
3,
0.75,
2.2795070569547802,
],
[
3.75,
0.75,
2.6947808397231299,
],
[
4.5,
0.75,
3.0896507158606799,
],
[
-1.5,
1.5,
'#NUM!',
],
[
-0.75,
1.5,
'#NUM!',
],
[
0,
1.5,
0,
],
[
0.75,
1.5,
0.64951905283833,
],
[
1.5,
1.5,
1.8371173070873801,
],
[
2.25,
1.5,
3.375,
],
[
3,
1.5,
5.1961524227066302,
],
[
3.75,
1.5,
7.2618437741389101,
],
[
4.5,
1.5,
9.5459415460183905,
],
[
-1.5,
2.25,
'#NUM!',
],
[
-0.75,
2.25,
'#NUM!',
],
[
0,
2.25,
0,
],
[
0.75,
2.25,
0.52346523324492999,
],
[
1.5,
2.25,
2.4900343193257202,
],
[
2.25,
2.25,
6.2002709114199197,
],
[
3,
2.25,
11.8446661165724,
],
[
3.75,
2.25,
19.569077463612199,
],
[
4.5,
2.25,
29.4936251312199,
],
[
-1.5,
3,
-3.375,
],
[
-0.75,
3,
-0.421875,
],
[
0,
3,
0,
],
[
0.75,
3,
0.421875,
],
[
1.5,
3,
3.375,
],
[
2.25,
3,
11.390625,
],
[
3,
3,
27,
],
[
3.75,
3,
52.734375,
],
[
4.5,
3,
91.125,
],
[
-1.5,
3.75,
'#NUM!',
],
[
-0.75,
3.75,
'#NUM!',
],
[
0,
3.75,
0,
],
[
0.75,
3.75,
0.34000064249104001,
],
[
1.5,
3.75,
4.5744851432748401,
],
[
2.25,
3.75,
20.9259143260422,
],
[
3,
3.75,
61.546690537779,
],
[
3.75,
3.75,
142.10758334477501,
],
[
4.5,
3.75,
281.54442148280401,
],
[
-1.5,
4.5,
'#NUM!',
],
[
-0.75,
4.5,
'#NUM!',
],
[
0,
4.5,
0,
],
[
0.75,
4.5,
0.27401585041616999,
],
[
1.5,
4.5,
6.2002709114199197,
],
[
2.25,
4.5,
38.443359375,
],
[
3,
4.5,
140.29611541307901,
],
[
3.75,
4.5,
382.94879277685698,
],
[
4.5,
4.5,
869.87392338092604,
],
];