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

167 lines
2.3 KiB
PHP

<?php
// x value, Result
return [
[
0,
1.0,
],
[
0.01,
0.98871658444415,
],
[
0.050000000000000003,
0.94362802220298303,
],
[
0.10000000000000001,
0.88753708398171505,
],
[
0.125,
0.859683795198666,
],
[
0.14999999999999999,
0.832004028572636,
],
[
0.20000000000000001,
0.77729741078952197,
],
[
0.25,
0.72367360983176299,
],
[
0.29999999999999999,
0.671373240540873,
],
[
0.34999999999999998,
0.62061794643768997,
],
[
0.40000000000000002,
0.57160764495333205,
],
[
0.45000000000000001,
0.524518280213076,
],
[
0.5,
0.47950012218695298,
],
[
0.59999999999999998,
0.39614390915207398,
],
[
0.69999999999999996,
0.32219880616258201,
],
[
0.80000000000000004,
0.25789903529233899,
],
[
0.90000000000000002,
0.203091787577168,
],
[
1,
0.15729920705028499,
],
[
1.1000000000000001,
0.119794930425918,
],
[
1.2,
0.089686021770364596,
],
[
1.3,
0.065992055059347507,
],
[
1.3999999999999999,
0.047714880237351202,
],
[
1.5,
0.033894853524689302,
],
[
1.75,
0.0133283287808176,
],
[
2,
0.0046777349810473001,
],
[
2.5,
0.00040695201744500001,
],
[
3,
2.20904969986E-5,
],
[
3.5,
7.4309837229999996E-7,
],
[
4,
1.54172579E-8,
],
[
4.5,
1.9661600000000001E-10,
],
[
5,
1.5375000000000001E-12,
],
[
5.5,
7.4000000000000003E-15,
],
[
6,
0.0,
],
[
32,
0.0,
],
[
-0.10000000000000001,
1.1124629160182899,
],
[
-1,
1.8427007929497099,
],
[
true,
'#VALUE!',
],
[
false,
'#VALUE!',
],
[
'2',
0.0046777349810473001,
],
[
'TWO',
'#VALUE!',
],
];