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

345 lines
4.1 KiB
PHP
Raw Normal View History

<?php
// number, base, result
return [
[
'#VALUE!',
'ABC',
],
[
'#VALUE!',
'123ABC',
],
[
0.091491094267951101,
1.2344999999999999,
],
[
'#NUM!',
-1.5,
-0.75,
],
[
'#NUM!',
0,
-0.75,
],
[
'#NUM!',
3.75,
-0.75,
],
[
'#NUM!',
-1.5,
0,
],
[
'#NUM!',
0,
0,
],
[
'#NUM!',
3.75,
0,
],
[
'#NUM!',
-0.75,
0.75,
],
[
'#NUM!',
0,
0.75,
],
[
1.0,
0.75,
0.75,
],
[
-1.40942083965321,
1.5,
0.75,
],
[
-2.8188416793064199,
2.25,
0.75,
],
[
-3.8188416793064199,
3,
0.75,
],
[
-4.5945019399978904,
3.75,
0.75,
],
[
-5.2282625189596299,
4.5,
0.75,
],
[
'#NUM!',
-0.75,
1.5,
],
[
'#NUM!',
0,
1.5,
],
[
-0.70951129135145496,
0.75,
1.5,
],
[
1.0,
1.5,
1.5,
],
[
2.0,
2.25,
1.5,
],
[
2.7095112913514501,
3,
1.5,
],
[
3.25985100456466,
3.75,
1.5,
],
[
3.7095112913514501,
4.5,
1.5,
],
[
'#NUM!',
-0.75,
2.25,
],
[
'#NUM!',
0,
2.25,
],
[
-0.35475564567572698,
0.75,
2.25,
],
[
0.5,
1.5,
2.25,
],
[
1.0,
2.25,
2.25,
],
[
1.3547556456757299,
3,
2.25,
],
[
1.62992550228233,
3.75,
2.25,
],
[
1.8547556456757299,
4.5,
2.25,
],
[
'#NUM!',
-0.75,
3,
],
[
'#NUM!',
0,
3,
],
[
-0.261859507142915,
0.75,
3,
],
[
0.36907024642854303,
1.5,
3,
],
[
0.73814049285708505,
2.25,
3,
],
[
1.0,
3,
3,
],
[
1.20311401357501,
3.75,
3,
],
[
1.36907024642854,
4.5,
3,
],
[
'#NUM!',
-0.75,
3.75,
],
[
'#NUM!',
0,
3.75,
],
[
-0.21765144798273001,
0.75,
3.75,
],
[
0.306762486567556,
1.5,
3.75,
],
[
0.61352497313511101,
2.25,
3.75,
],
[
0.83117642111784096,
3,
3.75,
],
[
1.0,
3.75,
3.75,
],
[
1.1379389076854001,
4.5,
3.75,
],
[
'#NUM!',
-0.75,
4.5,
],
[
'#NUM!',
0,
4.5,
],
[
-0.19126813092755501,
0.75,
4.5,
],
[
0.26957728969081501,
1.5,
4.5,
],
[
0.53915457938163003,
2.25,
4.5,
],
[
0.73042271030918504,
3,
4.5,
],
[
0.87878179860642203,
3.75,
4.5,
],
[
1.0,
4.5,
4.5,
],
[
6,
64,
2,
],
[
2,
100,
],
[
-2,
4,
0.5,
],
[
2.6989700043360001,
500,
],
[
1,
10,
],
[
3,
8,
2,
],
[
4.454347342888,
86,
2.7182818000000002,
],
[
1.3010299956639999,
20,
],
[
1.3010299956639999,
20,
10,
],
[
0.93067655807299998,
20,
25,
],
[
1.9756909715740001,
25,
5.0999999999999996,
],
[
4.82273630215,
200,
3,
],
];