ClickHouse/tests/queries/0_stateless/01086_modulo_or_zero.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
163 B
MySQL
Raw Normal View History

2020-02-25 10:06:59 +00:00
select moduloOrZero(0, 0) = 0;
select moduloOrZero(-128, -1) = 0;
select moduloOrZero(-127, -1) = 0;
select moduloOrZero(1, 1) = 0;
select moduloOrZero(5, 3) = 2;