Adjusted precision in test

This commit is contained in:
Alexey Milovidov 2019-08-02 22:00:22 +03:00
parent 35a71506a5
commit 73faf623f2
2 changed files with 4 additions and 4 deletions

2
contrib/fastops vendored

@ -1 +1 @@
Subproject commit b969b7aee07651248da8b7367b8e4338be8bca2a
Subproject commit 3a7cd7a6271f011025441bea178e7729d155c36b

View File

@ -1,4 +1,4 @@
SELECT
round(sigmoid(x), 6), round(sigmoid(toFloat32(x)), 6), round(sigmoid(toFloat64(x)), 6),
round(tanh(x), 6), round(TANH(toFloat32(x)), 6), round(TANh(toFloat64(x)), 6)
round(sigmoid(x), 5), round(sigmoid(toFloat32(x)), 5), round(sigmoid(toFloat64(x)), 5),
round(tanh(x), 5), round(TANH(toFloat32(x)), 5), round(TANh(toFloat64(x)), 5)
FROM (SELECT arrayJoin([-1, 0, 1]) AS x);