Adjust test because rounding in conversion of Float to Decimal has changed

This commit is contained in:
Alexey Milovidov 2021-05-08 03:27:23 +03:00
parent 5f3377cb84
commit e8c29bf15f
2 changed files with 2 additions and 2 deletions

View File

@ -26,5 +26,5 @@
1.00000 0.8427007929497149 0.15729920705028513
42.4200 115.60113124678627 1.6029995567009473e50
0.00 0 1 0
3.1415926535897927981986333033020522496 0 -1 -0
3.14159265358979 0 -1 -0
1.00 1.5707963267948966 0 0.7853981633974483

View File

@ -36,7 +36,7 @@ SELECT toDecimal128('1.0', 5) AS x, erf(x), erfc(x);
SELECT toDecimal128('42.42', 4) AS x, lgamma(x), tgamma(x);
SELECT toDecimal128('0.0', 2) AS x, round(sin(x), 8), round(cos(x), 8), round(tan(x), 8);
SELECT toDecimal128(pi(), 37) AS x, round(sin(x), 8), round(cos(x), 8), round(tan(x), 8);
SELECT toDecimal128(pi(), 14) AS x, round(sin(x), 8), round(cos(x), 8), round(tan(x), 8);
SELECT toDecimal128('1.0', 2) AS x, asin(x), acos(x), atan(x);