PhpSpreadsheet/unitTests/rawTestData/Calculation/Engineering/BESSELY.data
Adrien Crivelli 3a38cc8f0a
Fix unit tests for BESSEL functions
Expected data were re-written by using LibreOffice 5 as a reference.
We kept only 8 decimals, because this is the precision used in tests,
and it's easier to read without scientific notation.

Also a few expected values were wrong so they were changed. The correct
expected values were confirmed by both LibreOffice 5 and wolframalpha.com.

Finally fixed an actual bug in code were a NaN value were returned instead of
the correct `#NUM!`.
2016-07-31 23:11:54 +09:00

24 lines
429 B
Plaintext

1.5, -1, "#NUM!"
2.5, 0, 0.49807036
2.5, 1, 0.14591814
2.5, 2, -0.38133585
3.5, 1, 0.41018842
3.5, 3, -0.35833535
3.5, 2, 0.04537144
12.5, 0, -0.17121431
1.5, "XYZ", "#VALUE!"
"ABC", 3, "#VALUE!"
-3.5, 1, "#NUM!"
-0.735, 1, "#NUM!"
0, 1, "#NUM!"
1.5, 1, -0.41230863
2.5, 1, 0.14591814
3.5, 1, 0.41018842
-9, 2, "#NUM!"
-0.735, 2, "#NUM!"
0, 2, "#NUM!"
0.9, 2, -1.94590960
1.9, 2, -0.66987868
3.5, 2, 0.04537144
4, 5, -0.79585142